07.10.2015, 09:31
Quote:
That's not even valid code.
OP, problem might be that when you kill yourself - killerid will probably be INVALID_PLAYER_ID (as far as i can remember). So if you want to test it properly, just call OnPlayerDeath with your ID. Код:
//Inside some command OnPlayerDeath(NOT_PLAYERID, playerid, 0); EDIT: Also if it doesn't send INVALID_KILLER_ID, but instead your ID - you will just be decresing the score (playerid: your id) then increasing it (killerid: also your id) so it will have no effect. |