SendClientMessage char '\'
#1

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

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

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

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

SendClientMessageToAll(X11_WHITE, " a \\ ");

Should work

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


Forum Jump:


Users browsing this thread: 1 Guest(s)