Hello! I'm a new member here, and just started my journey through scripting for MTA (but i have some previous knowledge about programming and lua). So... I'm trying to script some kind of advanced rpg system, and I want to add hunger, thirst and sleep needs, but i want it's maximum values (aka time for complete depletion) to be altered by the default character stats. I have found out how to get the character stats, and the problem now is: what are the maximum and minimum values returned by getPedStat()? I tried the wiki, and there is said that there are some stats which are integer values, and some others are float. All the ones I want are float, but, I don't know if could I use, for instance, something like
sleep = baseValue/fat
because i don't know if fat goes from 0 to 999 or 1 to 1000. Wasn't able to find this anywhere either. Could you guys give a little help to this rookie right here?
(sorry for my bad english)