Jump to content

someone fix this please


HealthDown

Recommended Posts

Posted
function bindKeyF2 () 
    if (getPlayerTeam(getLocalPlayer ( ))=="Traders") then 
        guiSetVisible(traderJPanel, true) 
    end 
end 
bindKey ("F2", "down", bindKeyF2) 

it doesnt show gui at all, but there is no debugscript error

Posted
function bindKeyF2 () 
    if (getTeamName(getPlayerTeam(getLocalPlayer()) == "Traders") then 
        guiSetVisible(traderJPanel, true) 
    end 
end 
bindKey ("F2", "down", bindKeyF2) 

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