Jump to content

Unbind Key?


Lloyd Logan

Recommended Posts

bindKey("F6", "down", 
function ( ) 
    guiSetVisible( wnd, not guiGetVisible(wnd) ) 
    guiSetVisible( bHealth, not guiGetVisible(bHealth) ) 
    guiSetVisible( bDie, not guiGetVisible(bDie) ) 
    showCursor( guiGetVisible(wnd) ) 
end 
) 

Link to comment
bindKey ("F6", "down", 
    function ( ) 
        local state = guiGetVisible ( wnd ) 
        guiSetVisible ( wnd, not state ) 
        guiSetVisible ( bHealth, not state ) 
        guiSetVisible ( bDie, not state ) 
        showCursor ( not state ) 
    end 
) 

Link to comment
bindKey ("F6", "down", 
    function ( ) 
        local state = guiGetVisible ( wnd ) 
        guiSetVisible ( wnd, not state ) 
        guiSetVisible ( bHealth, not state ) 
        guiSetVisible ( bDie, not state ) 
        showCursor ( not state ) 
    end 
) 

Not working?

bindKey("F6", "down", 
function ( ) 
    guiSetVisible( wnd, true ) 
    guiSetVisible( bHealth, true ) 
    guiSetVisible( bDie, true ) 
    showCursor( true ) 
end 
) 
  
  
bindKey ("F6", "down", 
    function ( ) 
        local state = guiGetVisible ( wnd ) 
        guiSetVisible ( wnd, not state ) 
        guiSetVisible ( bHealth, not state ) 
        guiSetVisible ( bDie, not state ) 
        showCursor ( not state ) 
    end 
) 

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