Question about 0.3 - 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: Question about 0.3 (
/showthread.php?tid=95530)
Question about 0.3 -
Zeromanster - 03.09.2009
Is it possible to hide chat in 0.3 script-controlled ?
Re: Question about 0.3 -
JaTochNietDan - 03.09.2009
No. F7 can be done by the client to hide the chat, it cannot be hidden by the server unless you flood it with invisible text and stop the client from recieving any more messages.
Re: Question about 0.3 -
Jay_ - 03.09.2009
Actually it could be possible to make a function to show / hide chat thanks to the SendPlayerMessage function. You could just disable the chat for the player and store any messages sent, whilst that players chat is disabled, into an array. And when re-enabling use SendPlayerMessage to send the new messages to the client.
I might make a function for that soon, since it's something I've needed in the past to.
Re: Question about 0.3 -
beckzy - 04.09.2009
Quote:
Originally Posted by Jay[WW3samp.com
]
Actually it could be possible to make a function to show / hide chat thanks to the SendPlayerMessage function. You could just disable the chat for the player and store any messages sent, whilst that players chat is disabled, into an array. And when re-enabling use SendPlayerMessage to send the new messages to the client.
I might make a function for that soon, since it's something I've needed in the past to.
|
And what if the players disconnect? You can't use SendPlayerMessage on a player who isn't connected :P.
Re: Question about 0.3 -
SanMarinoRP - 04.09.2009
admin commands can
Re: Question about 0.3 -
Zeromanster - 04.09.2009
Quote:
Originally Posted by Jay[WW3samp.com
]
I might make a function for that soon, since it's something I've needed in the past to.
|
That would be great.