16.10.2016, 23:49
Hello guys, I've made this:
And it just shows the stats with values of 0 0 0 0 0 even after i /kill, and edit the userfile, what's wrong?
Код:
CMD:stats(playerid, params[]) { new money = PlayerInfo[playerid][Money]; new deaths = PlayerInfo[playerid][Deaths]; new kills = PlayerInfo[playerid][Kills]; new score = PlayerInfo[playerid][Score]; new admin = PlayerInfo[playerid][AdminLevel]; new string[500]; format(string,sizeof(string),"[General] - [Money: %d] | [Deaths: %d] | [Kills: %d] | [Score: %d] | [Admin Level: %d]",money,deaths,kills,score,admin); SendClientMessage(playerid, COLOR_GREEN, string); return 1; }