Get if a player is on duty
Event
exports["jobs_creator"]:isPlayerOnDuty(playerId)Parameters
Name
Data Type
Description
Return
Name
Data Type
Description
Example
local playerId = 52
print("Player ID " .. playerId .. " is on duty: " .. tostring( exports["jobs_creator"]:isPlayerOnDuty(playerId) ))Last updated