m0rfin Posted September 2, 2009 Share Posted September 2, 2009 Hello, im trying to make a teamchooser which after choosing a team it spawns them on a location. Ive tried to make a gui but it just wont show, It just returns a black background. Heres the code atm: http://ormnet.co.uk/help.lua Anyone who can help me? Link to comment
subenji99 Posted September 3, 2009 Share Posted September 3, 2009 addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () CreateTeamWindow() ... CreateTeamWindow() is a non-existant function in that code. I think you meant to put Teamchooser() there. Link to comment
m0rfin Posted September 3, 2009 Author Share Posted September 3, 2009 addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () CreateTeamWindow() ... CreateTeamWindow() is a non-existant function in that code. I think you meant to put Teamchooser() there. That worked thanks alot! Link to comment
subenji99 Posted September 3, 2009 Share Posted September 3, 2009 Next time, use /debugscript 3 in-game. It certainly would have given an error about that line. 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