|
Nvm, fixed. Now I have a new problem, I've added a pk shop which uses points I try to buy stuff from there and nothing happends??
Sry, didn't help :/
heres a little snippet u gotta do the rest
if (Server.playerHandler.players[c.playerId].connectedFrom != o.lastKilled) {
if(!(c.npcIndex > 0) && c.inPits == false){
o.pkPoints = (o.pkPoints + 10);
c.sendMessage("You have recieved 1 pk point");
o.lastKilled = Server.playerHandler.players[c.playerId].connectedFrom;
} else {
o.sendMessage("You do not recieve pk points because you have killed " +c.playerName+ " twice in a row.");
}
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |