Installation

  1. Download the purchased resource from keymaster - the official site of fivem with purchased resources.

  2. Unzip the g-dutyV2

  3. Create a Folder - In your resources directory, create a new folder and name it [g-scripts]if it has not already been created.

  4. Drag g-dutyV2 in to [g-scripts]

Arrangement

Add this line in your server.cfg file

ensure [g-scripts]

Frameworks Compatibility

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

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