Variables in a SendClientMessage
#8

Ive sorted it out to show everything but now they all say 0


EDIT

Heres the code
Код:
new Stats[10], string[150];
Stats[0] = INI_ReadInt("Cash");
Stats[1] = INI_ReadInt("Kills");
Stats[2] = INI_ReadInt("Deaths");
format(string, sizeof(string), "Account: Cash: %d, Kills: %d , Deaths: %d", Stats[0], Stats[1], Stats[2]);
SendClientMessage(playerid, COLOUR_GREEN, string);
Reply


Messages In This Thread
Variables in a SendClientMessage - by slymatt - 19.07.2011, 00:38
Re: Variables in a SendClientMessage - by [HiC]TheKiller - 19.07.2011, 00:41
Re: Variables in a SendClientMessage - by Calgon - 19.07.2011, 00:42
Re: Variables in a SendClientMessage - by slymatt - 19.07.2011, 00:43
Re: Variables in a SendClientMessage - by [HiC]TheKiller - 19.07.2011, 00:46
Re: Variables in a SendClientMessage - by slymatt - 19.07.2011, 00:47
Re: Variables in a SendClientMessage - by slymatt - 19.07.2011, 00:55
Re: Variables in a SendClientMessage - by slymatt - 19.07.2011, 00:58
Re: Variables in a SendClientMessage - by [HiC]TheKiller - 19.07.2011, 01:09
Re: Variables in a SendClientMessage - by slymatt - 19.07.2011, 01:15
Re: Variables in a SendClientMessage - by Donya - 19.07.2011, 02:29

Forum Jump:


Users browsing this thread: 4 Guest(s)