• How to hide chatbox fully?
    2 replies, posted
How do you hide the chatbox fully? I returned true in StartChat to make it disappear, but when you press Y, the mouse still pops up until you press enter.
[lua]hook.Add( "PlayerBindPress", "Hook Chat Binds", function( ply, bind, pressed ) if pressed and ( bind == "messagemode" || bind == "messagemode2" ) then -- Create your custom chatbox vgui here return true end end ) hook.Add( "StartChat", "Disable Old Chat", function(t) return true -- Nope.avi end ) hook.Add( "HUDShouldDraw", "Don't Draw Old Chat", function ( x ) if ( x == "CHudChat" and loadSuccess ) then return false -- Disable old chat from drawing end end )[/lua]
Thanks so much :)
Sorry, you need to Log In to post a reply to this thread.