Vanlot Posted January 13, 2013 Share Posted January 13, 2013 use this to hide the GUI not tested but it should works. function initGUI() if (source== cButton) then if (guiGetVisible(Window) == true) then guiSetVisible ( Window, false ) showCursor ( false ) end end end addEventHandler ( "onClientGUIClick",guiRoot, initGUI) Link to comment
iPrestege Posted January 13, 2013 Share Posted January 13, 2013 use this to hide the GUInot tested but it should works. function initGUI() if (source== cButton) then if (guiGetVisible(Window) == true) then guiSetVisible ( Window, false ) showCursor ( false ) end end end addEventHandler ( "onClientGUIClick",guiRoot, initGUI) Huh?? Link to comment
Lloyd Logan Posted January 13, 2013 Author Share Posted January 13, 2013 Nevermind Guys I got it! Thanks All! Link to comment
Recommended Posts