pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID)
{
GivePlayerMoney(killerid, random(5000));
}
GivePlayerMoney(playerid, -400);
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); // It's 'killerid' not 'playerid'
SendDeathMessage(killerid, playerid, reason);
return 1;
}