Chat command
#3

You want to use SendPlayerMessageToAll.

pawn Код:
new pmessage[128];
format(pmessage,128,"(%d) %s",playerid,text);
SendPlayerMessageToAll(playerid,pmessage);
SendPlayerMessageToAll allows you to send a chat message as a certain playerid [and in this case, to modify the message by adding (id)].
Reply


Messages In This Thread
Chat command - by ShawnMiller1337 - 13.06.2012, 21:24
Re: Chat command - by Kindred - 13.06.2012, 21:29
Re: Chat command - by Yuryfury - 13.06.2012, 21:32

Forum Jump:


Users browsing this thread: 1 Guest(s)