Has something to do with the damage system make it to were it resets damage when the player dies.
|
Source: Torvapkz
Im trying to get a pk point system working in my server but theres a bit of a problem
I am using this code:
killer.getPlayer().getBank().getContainer().add(ne w Item(12852, 5));
killer.getPlayer().sendMessage("5 tokens have been added to your bank!");
and say im "Bob" and i kill a person named "Noob" (example names) the 5 tokens does go to my bank "bob" but when "noob" goes out and dies to someone else other then me i still recieve 5 tokens in my bank and the killer does not.
Please skype and teamviewer me.
Skype: injoylifeHD
Thankyou.
Has something to do with the damage system make it to were it resets damage when the player dies.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |