[HELP] Rank system
#2

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;
}
Reply


Messages In This Thread
[HELP] Rank system - by V4at - 20.10.2011, 13:58
Re: [HELP] Rank system - by SmiT - 20.10.2011, 14:19
Re : [HELP] Rank system - by V4at - 20.10.2011, 14:30
Re : [HELP] Rank system - by V4at - 20.10.2011, 16:09
Re : [HELP] Rank system - by V4at - 21.10.2011, 11:03
Re : [HELP] Rank system - by V4at - 21.10.2011, 15:58

Forum Jump:


Users browsing this thread: 3 Guest(s)