Duty status toggled
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Triggered after player goes on/off duty client side
AddEventHandler("jobs_creator:toggleDuty", function(isOnDuty)
end)
isOnDuty
boolean
Player new duty status
AddEventHandler("jobs_creator:toggleDuty", function(isOnDuty)
if(isOnDuty) then
ESX.ShowNotification("You are now on duty")
else
ESX.ShowNotification("You are now off duty")
end
end)