DraggyScript

Installation

  1. Copy the draggy resource folder into your server’s resources directory.
  2. Ensure qb-core or ox_inventory dependencies are installed.
  3. Configure Config.lua to match your inventory setup.
  4. Add to server.cfg:
    ensure draggy
  5. Restart your server to load the resource.

Configuration

Edit Config.lua to set:

Commands

Permission Check

canUseDragFeature(source, cb) – Checks inventory for Config.itemName before enabling drag race.

Benchmark Features

NUI Usage

The script communicates with the UI through these actions:

Examples

Tips & Best Practices