Jump to content

[HELP]BindKey


ViRuZGamiing

Recommended Posts

Posted

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?

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted

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 .

  

Posted
Yes Should To Be The Same Example :

:wink:

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

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