I'm trying this way, but I can't and there are no errors either:
addEvent(player:eventSetStorageValue, 1000, EAT_EXHAUST_STORAGE_ID, 0)
eventSetStorageValue:
function Player.eventSetStorageValue(self, storage, value)
if self:isPlayer() then
self:setStorageValue(storage, value)...