+1 score +1 deaths
#2

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
        Kills[killerid] ++;
        SetPlayerScore(killerid, GetPlayerScore(killerid)+1);
    }
    Deaths[playerid] ++;
    return 1;
}
Something like that, you just need to change variable names
Reply


Messages In This Thread
+1 score +1 deaths - by mickos - 23.01.2014, 08:23
Re: +1 score +1 deaths - by Scottas - 23.01.2014, 08:28
Re: +1 score +1 deaths - by MatriXgaMer - 23.01.2014, 08:29
Re: +1 score +1 deaths - by boomerboom - 23.01.2014, 08:37
Re: +1 score +1 deaths - by mickos - 25.01.2014, 17:29
Re: +1 score +1 deaths - by Scottas - 25.01.2014, 19:17
Re: +1 score +1 deaths - by mickos - 25.01.2014, 19:21
Re: +1 score +1 deaths - by Scottas - 25.01.2014, 19:38
Re: +1 score +1 deaths - by mickos - 25.01.2014, 19:59
Re: +1 score +1 deaths - by MahdiGames - 25.01.2014, 22:10
Re: +1 score +1 deaths - by Shetch - 25.01.2014, 22:19
Re: +1 score +1 deaths - by MahdiGames - 25.01.2014, 22:25

Forum Jump:


Users browsing this thread: 1 Guest(s)