Jump to content

how to script my gui buttons ?


Razzer47

Recommended Posts

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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...