Installation
Download the purchased resource from keymaster - the official site of fivem with purchased resources.
Unzip the
g-dutyV2
Create a Folder - In your resources directory, create a new folder and name it
[g-scripts]
if it has not already been created.Drag
g-dutyV2
in to[g-scripts]
Arrangement
Add this line in your server.cfg file
ensure [g-scripts]
Frameworks Compatibility
Custom Framework & Inventory Support You can use this script with any custom framework or inventory system. All core functions are abstracted through a bridge, making integration flexible and straightforward.
✅ Automatic Framework Detection
Dependencies & Direct Links
The script automatically detects the framework you're using—no manual setup is required.
Supported Frameworks
QBCore
QBox
ESX (v1.11.0 or newer)
Inventory Systems Support
The script also auto-detects and supports:
ox_inventory (Recommended)
qb-inventory
core_inventory
qs-inventory
In the future, we will add support for more inventory systems based on customer requirements.
Targeting Systems Support
Target system detection is automatic for:
ox_target
qb-target
g-notification (optional)
Database
Automatic SQL Insertion
If you enable Config.AutoImportSQL
in [g-dutyV2/src/shared/Config.lua]
, the script will automatically insert the required SQL when the resource starts. Once the SQL has been added successfully, you can set this option to false
.
Manual SQL Insertion
If you prefer to add the SQL manually, the necessary queries are available in the g-dutyV2/Sql
folder.
Last updated