Help... problem when using Strings
#2

SendClientMessageToAll does not have the ability to format messages, for that you need to use the format function to format an array and then send it. For example:

pawn Код:
format(Message, sizeof(Message), ">> %s(%d) has been banned. PWNTD!!! Reason:%s",iName,id,gMessage);

SendClientMessageToAll(ADMINFS_MESSAGE_COLOR, Message);
Reply


Messages In This Thread
Help... problem when using Strings - by henry jiggy - 10.08.2011, 02:03
Re: Help... problem when using Strings - by JaTochNietDan - 10.08.2011, 02:06
Re: Help... problem when using Strings - by Backwardsman97 - 10.08.2011, 02:07

Forum Jump:


Users browsing this thread: 1 Guest(s)