sendclientmessage help.
#4

you need to format the string prior to using it.

pawn Код:
CMD:checkadmin(playerid, params[])
{
   new
        string[50];
   format(string, sizeof(string), "you are an admin! Level: %s", AdminLevel[playerid]); //
   if(AdminLevel[playerid] > 0) SendClientMessage(playerid, 0xFFFFFFF, string);
   return 1;
}
edit: too slow
Reply


Messages In This Thread
sendclientmessage help. - by the.et - 12.01.2012, 09:17
Re: sendclientmessage help. - by HyperZ - 12.01.2012, 09:23
Re: sendclientmessage help. - by ScriptJorkis - 12.01.2012, 09:24
Re: sendclientmessage help. - by [Diablo] - 12.01.2012, 09:24
Re: sendclientmessage help. - by the.et - 12.01.2012, 09:25
Re: sendclientmessage help. - by HyperZ - 12.01.2012, 09:25

Forum Jump:


Users browsing this thread: 4 Guest(s)