Jump to content

Help!!!


ali

Recommended Posts

Posted

I need to bind F1 to this and im getting stuck using

bindKey 
--- and i need it on 
"onClientPlayerJoin" 

here is the script

function Show(key,keyState) 
visible = guiGetVisible(ppanel) 
if visible == false then 
     guiSetVisible(ppanel, true) 
     showCursor(true) 
elseif visible == true then 
     guiSetVisible(ppanel, false) 
     showCursor(false) 
end 
end 
addEvent("ShowSelect", true) 
addEventHandler("ShowSelect", root, Show) 

Posted

bindKey('F1','down', 
    function (          ) 
        guiSetVisible  ( ppanel , not guiGetVisible ( ppanel )  ) 
        showCursor ( guiGetVisible ( ppanel )   ) 
    end 
) 

Try this .

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