this is for both lotf and coemu
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Revive Command

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


Posts : 56
Join date : 2009-08-20

PostSubject: Revive Command   Sun Aug 23, 2009 1:44 pm

this is from project samhaven the forums is dead i think so i'll post them on here. so credits to the samhaven forums members.

this goes in your client.cs or where ever ur commands are

Code:
if (Splitter[0] == "/revive")
                                        {
                                            MyChar.CurHP = MyChar.MaxHP;
                                            MyChar.Alive = true;
                                            MyChar.MyClient.SendPacket(General.MyPackets.Status1(MyChar.UID, 0));
                                            MyChar.MyClient.SendPacket(General.MyPackets.Status3(MyChar.UID));
                                            MyChar.MyClient.SendPacket(General.MyPackets.Vital(MyChar.UID, 26, MyChar.GetStat()));
                                            MyChar.MyClient.SendPacket(General.MyPackets.CharacterInfo(MyChar));
                                            MyChar.SendEquips(false);
                                            MyChar.BlueName = false;
                                            MyChar.MyClient.SendPacket(General.MyPackets.Vital(MyChar.UID, 26, MyChar.GetStat()));
                                            MyChar.Stamina = 100;
                                            MyChar.MyClient.SendPacket(General.MyPackets.Vital(MyChar.UID, 9, MyChar.Stamina));
                                            MyChar.MyClient.SendPacket(General.MyPackets.String(MyChar.UID, 10, "born3"));
                                            World.UpdateSpawn(MyChar);
                                        }
Back to top Go down
View user profile http://openprojects.forumotions.net
 
Revive Command
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» How to 'revive' old dry GW paintings
» DQFanaticX [Command Knight]
» Tamiya LRDG Command Car & Breda 20mm AA Gun
» What's the first thing to do when you restore an old Dynaco amp ?
» hysteric party

Permissions in this forum:You cannot reply to topics in this forum
lotf/coemu project :: LOTF :: Codes-
Jump to: