Jump to content

Number - Boolean issue


callum123

Recommended Posts

Posted

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") 

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...