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. "Get busy living or get busy dying"
Perfect Posted July 26, 2015 Posted July 26, 2015 That depends on when you want to show the gui. Multi Theft Auto Player since middle of 2011. Everybody want to act Crazy/Smart/Intelligent/Different/Unique/Innocent and Thats why I am Perfect.
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