SA-MP Forums Archive
SendClientMessage char '\' - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SendClientMessage char '\' (/showthread.php?tid=347042)



SendClientMessage char '\' - Night Dreamer - 31.05.2012

SendClientMessageToAll(X11_WHITE, " a \ ");
who can i use '\' in chat...


Re: SendClientMessage char '\' - JaKe Elite - 31.05.2012

You mean if player types \hello it will send something like

Код:
[PLAYER CHAT]: Romel(0) hello



Re: SendClientMessage char '\' - Night Dreamer - 31.05.2012

sorry....
Pawn says: error 027: invalid character constant
SendClientMessageToAll(X11_WHITE, " a \\ "); it fix... I think


Re: SendClientMessage char '\' - [ABK]Antonio - 31.05.2012

SendClientMessageToAll(X11_WHITE, " a \\ ");

Should work

\ is the default control character (you can change it with #pragma ctrlchar '\' \ being a different character)