callum123 Posted January 23, 2013 Share Posted January 23, 2013 (edited) Deleted. Edited January 23, 2013 by Guest Link to comment
TAPL Posted January 23, 2013 Share Posted January 23, 2013 hunger here return boolean not a number. boolean cannot be compared with numbers. Mostly it return false, where you have set the data? local hunger = getElementData(thePlayer, "hunger") Link to comment
callum123 Posted January 23, 2013 Author Share Posted January 23, 2013 I'm unsure where I would have to set the data.. What I have been doing is just making a new column in an SQL table. I made a column called 'hunger' and then set the default value to 100 and then I am trying to get that value. 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