Jobs Duty System
A duty script for a FiveM server that easily maintains player job duty hours
Requirements:
- oxmysql
- ox_lib
- ox_target
Supported Framework:
- ESX
Features
- Custom UI
- Configurable
- Optimized
- Can add multiple duty jobs
- Can add multiple off/one duty menu locations/coordinates
- Multiple Languages
- Enable/disable delete button
- Enable/disable reset duty time button
- Delete/Reset cooldowns
- Logs
- You can set a separate log channel for each job
Important
you switch your job using the /setjob command, and if the new job (e.g., ambulance job) has no data, the previous job’s data will still be displayed. However, if you restart your g-duty script, it will work perfectly. If the new job has data, it will work
Why is it not calculating?
This issue occurs because you are restarting the script every time or using the /setjob command to switch jobs.
When calculating the player’s duty time ?
it only calculates if the player interacts with the menu and switches off duty.
For this script to work, you need to have two jobs: ‘offduty’ and 'onduty
Config
photo -
Video : ESX | JOBS DUTY SYSTEM (youtube.com)
Tebex : Groot Development | [ESX] JOBS DUTY SYSTEM (tebex.io)
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 800+ |
Requirements | es_extended |
Support | Yes |