Is there a way to check if a player has their menu open?
2 replies, posted
See title. I'm trying to create KeyPress and KeyRelease hooks that don't trigger when the player's pause menu is open. The wiki probably has information on this, but I can't find it.
You clearly did not searched through the wiki. It took me 2 seconds to find GM/OnSpawnMenuOpen
I went on the gmod wiki and typed in the search bar "Menu". Tadaa, found it
gui.IsGameUIVisible
Sorry, you need to Log In to post a reply to this thread.