Razzer47 Posted June 24, 2013 Share Posted June 24, 2013 i'v created gui with buttons, now how i script the gui and buttons ? like making F3 to open the gui Link to comment
xXMADEXx Posted June 24, 2013 Share Posted June 24, 2013 https://wiki.multitheftauto.com/wiki/OnClientGUIClick (btw, your sig is fking weird ) Link to comment
Castillo Posted June 24, 2013 Share Posted June 24, 2013 To make a key do something, you need to bind it, for that, use the following function: bindKey And to make it show/hide a GUI, you must use: guiGetVisible -- To get the visibility status. guiSetVisible -- To set the visibility status. And to show/hide the cursor: isCursorShowing -- Returns the cursor visibility. showCursor -- Sets the cursor visibility. Link to comment
Razzer47 Posted June 25, 2013 Author Share Posted June 25, 2013 To make a key do something, you need to bind it, for that, use the following function: bindKey And to make it show/hide a GUI, you must use: guiGetVisible -- To get the visibility status. guiSetVisible -- To set the visibility status. And to show/hide the cursor: isCursorShowing -- Returns the cursor visibility. showCursor -- Sets the cursor visibility. thanks, that's was useful 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