[Small-Release]/setpkp command

05/15/2009 08:42 ih8you#1
hi again

Coded completly by me 5 minutes ago =P

Code:
if (Splitter[0] == "/setpkp")
                                         {
                                             ushort PKPoints = ushort.Parse(Splitter[1]);
                                             MyChar.PKPoints = PKPoints;
                                             World.UpdateSpawn(MyChar);
                                             SendPacket(General.MyPackets.CharacterInfo(MyChar));
                                             MyChar.SendEquips(false);
                                             SendPacket(General.MyPackets.Vital(MyChar.UID, 26, MyChar.GetStat()));
                                             
                                         }
Hope this helps
Press thanks button =]
05/15/2009 08:45 Pete1990#2
not gonna thank you but ur geting there start doing npcs people will thank you.
05/15/2009 13:00 PeTe Ninja#3
is this copied from source, i have almost same thing in mine
05/15/2009 17:15 ih8you#4
Quote:
Originally Posted by PeTe Ninja View Post
is this copied from source, i have almost same thing in mine
its not i swear, i coded it myself, the source i have never had it

@other pete, i've coded some npcs, i coded a GM npc that gives u full sets of gears including garments , the pk arena entrance guy and the jail guy
05/17/2009 21:13 Arcotemple#5
Quote:
Originally Posted by ih8you View Post
its not i swear, i coded it myself, the source i have never had it

@other pete, i've coded some npcs, i coded a GM npc that gives u full sets of gears including garments , the pk arena entrance guy and the jail guy
good job mark you got my thanks