HealthDown Posted September 9, 2011 Share Posted September 9, 2011 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 Link to comment
HealthDown Posted September 9, 2011 Author Share Posted September 9, 2011 yes, my team is Traders Link to comment
TAPL Posted September 9, 2011 Share Posted September 9, 2011 function bindKeyF2 () if (getTeamName(getPlayerTeam(getLocalPlayer()) == "Traders") then guiSetVisible(traderJPanel, true) end end bindKey ("F2", "down", bindKeyF2) Link to comment
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