Jump to content

Which event?


Bilal135

Recommended Posts

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.

Link to comment

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