20.10.2011, 14:19
Try to make a check if killerid isn't equal to invalid player id:
pawn Код:
public OnPlayerDeath( playerid, killerid, reason )
{
if ( killerid != INVALID_PLAYER_ID )
{
Kills[ killerid ] ++;
}
Deaths[ playerid ] ++;
return true;
}