Config.lifeRequest = function()
--Insert your code here
return 50, 50 --The first is thirst and the seconde is hunger (Attention: This must return a percentage!)
end
Exemple (ESX):
I don’t follow that there and need the “math.floor” I’m not testing, if it doesn’t work remove it and just leave the “status.getPercent()”
Thank you, It was planned in a future update to be able to choose below or above the map, for the resolution normally there is no problem I personally tried without apparent problem
Hi, could you try setting thirst and hunger to 0 instead of nil? This could also be related to the order of starting your resources. If you’re using ESX, you should place it after your esx_status. Typically, by setting thirst and hunger to zero, you shouldn’t encounter any issues in any case.