07.10.2015, 08:34
Try this.
Код:
public OnPlayerDeath(playerid, killerid, reason) { new newscore = GetPlayerScore(playerid) --; SendDeathMessage(killerid, playerid, reason); SetPlayerScore(playerid, newscore); if(killerid != INVALID_PLAYER_ID){SetPlayerScore(killerid,GetPlayerScore(killerid)+1);} return 1; }