Bilal135 Posted July 26, 2015 Posted July 26, 2015 Just a bit of problem here. I am confused which event should I use here to make the gui appear. No errors in debug. function showGui() local team = getPlayerTeam(source) local usa = getTeamFromName("USA") local rus = getTeamFromName("Russia") if team == usa then guiSetVisible(GUIEditor.window[1], true) showCursor(true) elseif team == rus then guiSetVisible(window, true) showCursor(true) end end Thanks in advance.
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