cokacola Posted May 12, 2009 Posted May 12, 2009 I cant take this anymore...all my GUi's work, but this one...does anyone see anything wrong with this line: armed_Window[1] = guiCreateWindow(287,125,215,157,"Join the Armed Forces",false) Attempt to index global 'armed_Window[1]' a Nil value my other GUIs work, but this one is evil... Also known as Bizzycola. In fact, if I could change my nick to that I would.
Lordy Posted May 12, 2009 Posted May 12, 2009 Sometimes looking at the error it outputs helps. "Attempting to index a global " a nil value means that you don't have the table defined anywhere. Like the armed_Window needs to be a table, before you can add indexes to it. Just add armed_Window = {} before it.
cokacola Posted May 12, 2009 Author Posted May 12, 2009 ahh thanks, i have been using the GuiEditor resource, and didn't realize that it did not add that this time Also known as Bizzycola. In fact, if I could change my nick to that I would.
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