how to disable hunger when the player is standing still
and how enable it when he running?
why? thats just performance sucking and kind of useless. in darkrp you move most of the time. pausing the hunger for that tiny amount where you stand wont change much. also hungermod is serverside setting, so you cant do that
ok
You can. However its not in there by default.
You can use hungerUpdate(Player ply, number energy)
and check for player movement, if he is moving then run it and if he's not don't run it.
Requieres some lua knowledge and I can't really help you on my smartphone.
Sorry, you need to Log In to post a reply to this thread.