ViRuZGamiing Posted February 15, 2013 Posted February 15, 2013 Hello Cummunity, I have this in my script: key = "m" It works fine with "m" but if I want it to work with "F2" is it still the same?
iPrestege Posted February 15, 2013 Posted February 15, 2013 Yes Should To Be The Same Example : key = "F2" function open() if ( guiGetVisible ( wnd ) == true ) then guiSetVisible (wnd, false) showCursor(false) guiSetInputEnabled(false) elseif ( guiGetVisible ( wnd ) == false ) then guiSetVisible (wnd , true) showCursor(true) guiSetInputEnabled(true) end end bindKey(key,"down",open) This Should Work As What i Know As Far .
ViRuZGamiing Posted February 15, 2013 Author Posted February 15, 2013 Mr.Prestige why you have an whole code after the key="F2"
iPrestege Posted February 15, 2013 Posted February 15, 2013 For that if you use this little code just does not work that must be used On Full .
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