I've been having trouble disabling the default chatbox text for a while now, and since I've made no progress at all, I've decided it's time to ask publicly for help
I know you can use hook.Add with StartChat then return true, but until the player hits Y I'm stuck with this:
(That's default chatbox on the left, lua chatbox on the right)
I can't RunConsoleCommand, because the "messagemode" command only works when it's bound to a key (I have no idea why, there's no other console commands that act like that, other than "messagemode2")As far as I'm aware, there's no way to emulate a key press through lua, and even if there was how would I find which key is bound to chat?
hook.Call("StartChat") doesn't work, it runs the code properly but doesn't hide the default chatbox
GAMEMODE:StartChat() also doesn't work, it doesn't run the hook
Same issues for the FinishChat hook
The problem exists in both the current version of Garry's Mod, and the beta
So, my question is this: Does anyone know of another workaround, or another way to hide chat?