Victor214 Posted February 3, 2012 Share Posted February 3, 2012 How do i make a GUI that, When i press F1, It opens and when i press F1 Again it closes?(Sorry for my ignorance ) Thanks for the help! Link to comment
Castillo Posted February 3, 2012 Share Posted February 3, 2012 myGUIWindow = guiCreateWindow(50, 50, 100, 100, "Hello world!", false) bindKey("F1","down", function () guiSetVisible(myGUIWindow, not guiGetVisible(myGUIWindow)) showCursor(guiGetVisible(myGUIWindow)) end) 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