How can I hide the chat? - 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: How can I hide the chat? (
/showthread.php?tid=426896)
How can I hide the chat? -
RiChArD_A - 30.03.2013
How can I hide the chat to players when they connect and then show it when requesting calss? Thank you.
Re: How can I hide the chat? -
Camacorn - 30.03.2013
Simple, just create a variable in 'OnPlayerText' that checks if the player is requesting a class, and if not, don't send it to that player, only send it to those that already have.
Re: How can I hide the chat? -
zombieking - 30.03.2013
Your best choice is to clear the chat when the player connects and do what Camacorn said above.
Re: How can I hide the chat? -
Pawnie - 30.03.2013
Just add OnPlayerRequestClass
Код:
for( new i = 0; i <= 100; i ++ ) SendClientMessage(playerid, COLOR_WHITE, "" );