Console or escape menu refuses to update when I use my chatbox
3 replies, posted
I made a chat box a while back and I've decided to try to use it for my little sandbox server I have but after a while of using it, console or the escape menu doesn't want to open and you have to restart Garry's mod or get kicked out of the server. Does anyone know why this is happening​?
I also know this code is probably not the best way to make my chatbox with maybe how I put wrapping or icons or whatever, so if you see something that I should change and how to improve I'd really appreciate it.
Edit:
Oops I meant open not update in the title
Here's the pastebin: [url]https://pastebin.com/QcvcYZvA[/url]
[QUOTE=LittleBigBug;52185736]I made a chat box a while back and I've decided to try to use it for my little sandbox server I have but after a while of using it, console or the escape menu doesn't want to open and you have to restart Garry's mod or get kicked out of the server. Does anyone know why this is happening​?
I also know this code is probably not the best way to make my chatbox with maybe how I put wrapping or icons or whatever, so if you see something that I should change and how to improve I'd really appreciate it.
Here's the pastebin: [url]https://pastebin.com/QcvcYZvA[/url][/QUOTE]
maybe because you call HideGameUI :v:
Oh whoops, I'm stupid
Thanks I'm not quite sure why I put that there. :s
It actually still doesn't let me pull up the console after some time using it, I've removed calling that function, but it still doesn't want to work.
rip forgot the rules of automerge.
Edit:
When the player closes the chatbox I use kill focus to remove the focus and then request it again when they open it and so far I haven't gotten anything but im still not sure yet
Nope. still does it
Sorry, you need to Log In to post a reply to this thread.