Question about 0.3
#1

Is it possible to hide chat in 0.3 script-controlled ?
Reply
#2

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.
Reply
#3

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.
Reply
#4

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.
Reply
#5

admin commands can
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)