getJobDuty
Returns the duty status for the given source.
Parameters:
source
(number): Player server ID
Returns:
boolean
: True if on duty, false if off duty
Example:
local onDuty = ps.getJobDuty(source)
if onDuty then
print("Player is on duty")
end
Last updated