HexscriptsClassicFood
Events
This section lists all client-side and server-side events in this script. Events allow you to add custom listeners that capture and respond to actions triggered by this script.
Note
If you need additional events for your implementation, please open a ticket on our Discord server.
Client Events
hex_food:onTick
Triggerd after the food or drink item gets updated.
AddEventHandler('hex_food:onTick', function(food, thirst)
print(('Current Hunger: %s, Current Thirst: %s'):format(food, thirst))
end)Server Events
No server events are available at the moment.