Last updated 2 years ago
Returns if the player is on duty or not.
exports["jobs_creator"]:isPlayerOnDuty(playerId)
local playerId = 52 print("Player ID " .. playerId .. " is on duty: " .. tostring( exports["jobs_creator"]:isPlayerOnDuty(playerId) ))
playerId
integer
Target player server ID
isOnDuty
boolean
true if the player is on-duty false if the player is off-duty