GhostXoP Posted June 23, 2012 Share Posted June 23, 2012 I'm not sure why it isnt. It just says Bad Argument at spawnPlayer. Can you spot what may be wrong? The variables are correct, ive removed and replaced them, and i still have the error. getRootElement() is corrected but the error still stands. Link to comment
Castillo Posted June 23, 2012 Share Posted June 23, 2012 Are you sure that is the first argument the problem? I don't see why it wouldn't work. Link to comment
Guest Guest4401 Posted June 23, 2012 Share Posted June 23, 2012 I guess you're passing the function getRootElement instead of the root in the attachedTo argument. getRootElement should be getRootElement() or root I think. Link to comment
GhostXoP Posted June 23, 2012 Author Share Posted June 23, 2012 I tried root, solidsnake was correct, the variables were off. Not sure how, but thanks 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