add c.pkPoints += 1; directly under:
Code:if (c.killerId != c.playerId)
|
it isnt rewarding me a PKPoint when i kill the player? any ideas?
Code:if(c.duelStatus != 6) { //c.killerId = c.getCombat().getKillerId(c.playerId); c.killerId = findKiller(); Client o = (Client) Server.playerHandler.players[c.killerId]; if(o != null) { if (c.killerId != c.playerId) if(o.getKill().addPlayer(c.playerName)) { c.pkPoints += 1; o.sendMessage("You have defeated "+c.playerName+", you now have "+o.pkPoints+" PK Points."); } c.playerKilled = c.playerId; if(o.duelStatus == 5) { o.duelStatus++;
add c.pkPoints += 1; directly under:
Code:if (c.killerId != c.playerId)
Cheers fella...
*Edit: Ugh... Didnt work :/
Since it's giving points to the killed person with that codeCode:o.pkPoints++;
Cheers ghost, nice one pal ! x
You're welcome
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |