Exports
OnDuty
- Check if a player is clocked into the garbage job
---@param return boolean
exports['mk_garbage']:OnDuty()
--Examples
if exports['mk_garbage']:OnDuty() then
print('player is clocked in')
end
local onDuty = exports['mk_garbage']:OnDuty()
if onDuty then print('player is collecting garbage') end
Last updated