function onStepIn(cid, item, pos) local times = 18 -- Não mexa, = equação (TOTAL MINUTES/IDLE MINUTES) if not isPlayer(cid) then return true end if getPlayerStorageValue(cid, 1437) > -1 then return true end for i = 1, times do addEvent(doPlayerResetIdleTime, 10*60*1000, cid, true) setPlayerStorageValue(cid, 1437, -1) end return true end function onStepOut(cid, item, pos) if isPlayer(cid) then setPlayerStorageValue(cid, 1437, 1) end return true end