I have a question, I have created a derma menu which is bound to F3, however, when you close it the mouse remains (as that key makes the mouse appear), and thus you must reopen it and close it again. Is there a way I can override that when the menu is closed, or will i simply have to bind it to another key?
Code?
Use [URL="http://wiki.garrysmod.com/page/gui/EnableScreenClicker"]gui.EnableScreenClicker[/URL].
[CODE]frame.OnClose = function()
gui.EnableScreenClicker(false)
end[/CODE]
Make sure to enable the cursor when you initialise your frame as well.
Sorry, you need to Log In to post a reply to this thread.