Quote:
Originally Posted by nilanjay
pawn Код:
if(killerid != INVALID_PLAYER_ID) { SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); }
This above code of your says that if the killerid is invalid then add +1 to the score of killerid. That's why it is not working.
|
Go learn your operators, please. It says: if killerid is
not invalid (hence, valid), then add score. This is correct.