getJobDuty

Description

Checks whether the player is currently on duty.

Parameters

  • None

Return Value

  • Returns true if on duty.

Example Use Case

if ps.getJobDuty() then
    print("On Duty: Yes")
else
    print("On Duty: No")
end

Last updated