Getting the player kills?
#4

Code:
public OnPlayerDeath(playerid, killerid, reason)
{

    SendDeathMessage(killerid, playerid, reason);

    gKills[killerid] ++;
    gDeaths[playerid] ++;

    return true;
}
edit: yeah my bad I haven't noticed I added playerid instead of id.
Reply


Messages In This Thread
Getting the player kills? - by ivndosos - 11.03.2018, 11:03
Re: Getting the player kills? - by cessil - 11.03.2018, 11:10
Re: Getting the player kills? - by X337 - 11.03.2018, 11:10
Re: Getting the player kills? - by ivndosos - 11.03.2018, 11:12
Re: Getting the player kills? - by RogueDrifter - 11.03.2018, 11:29
Re: Getting the player kills? - by ivndosos - 11.03.2018, 11:30
Re: Getting the player kills? - by RogueDrifter - 11.03.2018, 11:32
Re: Getting the player kills? - by ivndosos - 11.03.2018, 11:34
Re: Getting the player kills? - by cessil - 11.03.2018, 11:36
Re: Getting the player kills? - by RogueDrifter - 11.03.2018, 11:46

Forum Jump:


Users browsing this thread: 4 Guest(s)