Developer Docs

Here you can find useful exports/triggers that may be useful.

If you have any suggestions for exports or triggers needed for your server, please open a ticket in my Discord server, and we can add it.

Client Exports

Open Jobpanel

You can use this export to open our jobpanel through other scripts.

Code Example
---@param job string
exports['dillen-bossmenu']:OpenJobpanel(job)

Server Exports

Reset Statistics

This export restores ALL company's weekly statistics.

Code Example
exports['dillen-bossmenu']:ResetStatistics()

Create Job History

With this export you can create job history from other scripts.

Code Example
---@param job string | The job you want to create a history entry for
---@param name string | The player's name who performed the action
---@param action string | The type of action performed
exports['dillen-bossmenu']:CreateJobHistory(job, name, action)

Client Events

Open Jobpanel

You can use this trigger to open our jobpanel through other scripts.

Code Example
---@param job string
TriggerEvent('dillen-jobpanel:openJobpanel', job)

Last updated