Error and i cant understand why
#15

i have this now

Код:
new Stats[6], string[150];
Stats[0] = PlayerInfo[playerid][Cash];
Stats[1] = PlayerInfo[playerid][Kills];
Stats[2] = PlayerInfo[playerid][Deaths];
Stats[3] = Factionname[24];
Stats[4] = PlayerInfo[playerid][Factionrank];
Stats[5] = PlayerInfo[playerid][Bankdeposit];
format(string, sizeof(string), "Account: Cash: %d || Kills: %d || Deaths: %d || Faction: %d || Faction Rank: %d || Bank Balance: %d", Stats[0], Stats[1], Stats[2], Stats[3], Stats[4], Stats[5]);
SendClientMessage(playerid, COLOUR_YELLOW, string);
but Stats[3] = Factionname[24]; still shows as 0 when i type /stats although in my file it is set to 1 and should show LSPD =S
Reply


Messages In This Thread
Error and i cant understand why - by slymatt - 22.07.2011, 21:21
Re: Error and i cant understand why - by [MG]Dimi - 22.07.2011, 21:23
Re: Error and i cant understand why - by slymatt - 22.07.2011, 21:26
Re: Error and i cant understand why - by MadeMan - 22.07.2011, 21:26
Re: Error and i cant understand why - by Sasino97 - 22.07.2011, 21:27
Re: Error and i cant understand why - by slymatt - 22.07.2011, 21:59
Re: Error and i cant understand why - by slymatt - 22.07.2011, 22:49
Re: Error and i cant understand why - by Amit_B - 23.07.2011, 00:56
Re: Error and i cant understand why - by [L3th4l] - 23.07.2011, 01:07
Re: Error and i cant understand why - by slymatt - 23.07.2011, 11:25
Re: Error and i cant understand why - by MoroDan - 23.07.2011, 11:46
Re: Error and i cant understand why - by slymatt - 23.07.2011, 11:48
Re: Error and i cant understand why - by MoroDan - 23.07.2011, 11:52
Re: Error and i cant understand why - by slymatt - 23.07.2011, 12:05
Re: Error and i cant understand why - by slymatt - 26.07.2011, 12:34

Forum Jump:


Users browsing this thread: 1 Guest(s)