Variables in a SendClientMessage
#3

You've got to format a string, and send the message. An example of this would be:

pawn Код:
new
        szMessage[128];
       
    format(szMessage, sizeof(szMessage), "Cash: %d", INI_ReadInt("Cash"));
    SendClientMessage(playerid, -1, szMessage);
EDIT: Didn't see [HiC]'s post.
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: 1 Guest(s)