TheIceman1 Posted March 13, 2013 Share Posted March 13, 2013 Why this dont close GUI?No errors. GUIEditor_Window[2] = guiCreateWindow(279,147,473,324,"Clan System",false) guiSetVisible(GUIEditor_Window[2], false) GUIEditor_Button[4] = guiCreateButton(9,289,449,26,"Close",false,GUIEditor_Window[2]) function hideMyClanWindow() guiSetInputEnabled ( false ) guiSetVisible(GUIEditor_Window[2], false) showCursor(false) end addEventHandler( "onClientGUIDoubleClick", GUIEditor_Button[4], hideMyClanWindow ) Link to comment
Baseplate Posted March 13, 2013 Share Posted March 13, 2013 You sure you clicked twice on the Button?? and the window seems to be not visible you sure that it's visible? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now