Getting the player kills?
#2

it's possible the code is cancelled before it reaches the part where it changes the variables, the rest seems fine.
post the whole OnPlayerDeath

Code:
GetPlayerName(id, PlayerName, sizeof(PlayerName)); 
    
   format(String, sizeof(String), "Player Name: %s | ID: %d | Kills: %d | Deaths: %d", PlayerName, id, gKills[id], gDeaths[id]);
I missed the playerid's you should change them to 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: 1 Guest(s)