SA-MP Forums Archive
Block send message in server window? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Block send message in server window? (/showthread.php?tid=218260)



Block send message in server window? - Riddick94 - 29.01.2011

Hey.. is there any way to don't send a message to the server window?

Example:


Without message !Test only with that second one message what i type on the screen. Return 0 or what? but.. where?


Re: Block send message in server window? - Marricio - 29.01.2011

try with return 0;


Re: Block send message in server window? - Vince - 29.01.2011

Doesn't work. Chat is always printed to the console/log, no matter what return value you use with OnPlayerText.