undefined Posted March 22, 2014 Share Posted March 22, 2014 (edited) function playerLogin (the... ERROR: Jack/script.lua:147: bad argument #1 to 'pairs' <table expected, got nil> Edited March 23, 2014 by Guest Link to comment
Tete omar Posted March 22, 2014 Share Posted March 22, 2014 That's because the player isn't registered in 'tempData' table until he dies, the solution is: try registering him and his data into the table when he logs in. 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