Jump to navigation Jump to search
|Hook name||hungerUpdate(Player ply, number energy)|
|Called every 10 seconds for every player when hungermod is on. This updates the player's hunger level.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/hungerUpdate]hungerUpdate hook[/url][/b]|
- ply (Player)
- energy (number)
The player who might be slightly more hungery.
The energy the player has left.
- override (boolean)
Override the default behaviour of substracting some and killing the player when starving.