Victor214 Posted February 3, 2012 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!
Castillo Posted February 3, 2012 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) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted February 3, 2012 Posted February 3, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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