stats not updating
#1

so ive been trying to fix a problem with my /stats command or somewhere within my login/register system...

this is the code for the cmd

Код:
CMD:stats(playerid, params[])
{
	new string[40];
	new kills = PlayerInfo[playerid][pKills];
	new deaths = PlayerInfo[playerid][pDeaths];
	new exp = PlayerInfo[playerid][pExp];
	format(string, sizeof(string), "† Kills: %d † Deaths: %d † Experience: %d †", kills, deaths, exp);
	SendClientMessage(playerid, COLOR_GREEN, string);
	return 1;
}
but it returns 0 for all the stats in game, even if i have amounts in each
Reply


Messages In This Thread
stats not updating - by facekche - 01.08.2015, 16:26
Re: stats not updating - by xVIP3Rx - 01.08.2015, 16:54
Re: stats not updating - by Keyhead - 01.08.2015, 17:17
Re: stats not updating - by facekche - 01.08.2015, 17:54
Re: stats not updating - by xVIP3Rx - 01.08.2015, 18:21
Re: stats not updating - by facekche - 02.08.2015, 03:37
Re: stats not updating - by facekche - 02.08.2015, 05:06
Re: stats not updating - by xVIP3Rx - 02.08.2015, 05:12
Re: stats not updating - by facekche - 02.08.2015, 05:28
Re: stats not updating - by xVIP3Rx - 02.08.2015, 05:47

Forum Jump:


Users browsing this thread: 4 Guest(s)