Jump to content

Hide player text chat


goofie88

Recommended Posts

Ah showChat doesnt hide the HUD? ah damn I saw it and read the wiki about it and didn't pay attention haha im so dumb thanks xD

Edit: actually no it hides the Chat, I need to chat to be shown but I dont want other players chatting in there, i dont want to disable chatting just to the source not seeing the other players talking but seeing outputChatbox

Edited by Guest
Link to comment
Ah showChat doesnt hide the HUD? ah damn I saw it and read the wiki about it and didn't pay attention haha im so dumb thanks xD

Edit: actually no it hides the Chat, I need to chat to be shown but I dont want other players chatting in there, i dont want to disable chatting just to the source not seeing the other players talking but seeing outputChatbox

something like

addEventHandler("onPlayerchat", root, 
function ( ) 
cancelEvent() 
end) 

?

Link to comment
won't this hide every chat text when the players type?

okee you want players not to chat but you want them to see the outputChatBox msg's, well then just cancel the event, if you want to make it for admins only, lookup if the name is in the ACL, if you want registered uesrs only, check if its an account or not. O_O

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...