🧾Exports / Functions

Resource Integrations guide with other resources.

Exports:

If you want to just do onduty player to keep record duty from any of ur mdt or any script these exports will help you in all ways

Get Job Name Of Player

Client Side:

-- return
-- job name as string

exports.fs_dutysystem:GetJobName()

-------------------------------------------------------------------------------------
--===================================================================================
-------------------------------------------------------------------------------------

Server Side:
-- return 
-- job name as string

-- argument
-- player server id ex- source

exports.fs_dutysystem:GetJobName(source)

Check If Player Is Onduty

Toggle Duty Status

Set On Duty

Set Off Duty

Last updated