+Kills & +Deaths
#2

You would do something like:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
        PlayerInfo[killerid][pKills] += 1;
        PlayerInfo[playerid][pDeaths] ++;
    }
    return 1;
}
Reply


Messages In This Thread
+Kills & +Deaths - by Miladajir - 09.05.2014, 05:57
Re: +Kills & +Deaths - by itsCody - 09.05.2014, 06:21
Re: +Kills & +Deaths - by Miladajir - 09.05.2014, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)