# How to Install

### Installation - Follow each step and Don't Rush

1. Place `RDH_Nitro` in your resources folder
2. Add the items to your `ox_inventory` #OX\_Inventory Items (Copy past Change - Description to your if you want ) (section below)
3. Add the images to your `ox_inventory` !
4. Edit `config.lua` to match your server setup (framework, permissions, boost mode, etc.)
5. Add `ensure RDH_Nitro` to your `server.cfg` (after all dependencies)
6. start the server — database tables are created automatically

#### ACE Permission (for public compressors)

Add to your `server.cfg`:

```cfg
add_ace group.admin RDH_Nitro.admin allow
```

***

### ⚙️ Configuration (`config.lua`)

> **Make sure you Look at the Config file befor you start the server**

```lua
Config = {}

-- Framework selection
Config.Framework = "qbx"          -- "qbx", "qb", "esx"

-- Target resource
Config.TargetResource = "ox_target"   -- "ox_target" or "qb-target"

-- UI mode
Config.UseCustomUI = true

-- Boost mode
Config.BoostMode = "drive"       -- "power" or "drive"

-- Bottles / purge
Config.MaxBottles = 5
Config.NosDrainRate = 1.0
Config.DefaultPressure = 2
Config.MaxPurgeKits = 3
Config.PurgeDrainRate = 5.0
Config.PurgeChargeRate = 10.0
Config.PurgeNosDrainRate = 5.0

-- Drain discount (por número de garrafas)
Config.DrainDiscount = {
    [1] = 0.10, [2] = 0.20, [3] = 0.30, [4] = 0.40, [5] = 0.50,
}

-- Blacklisted vehicles
Config.BlacklistedVehicles = {
    rhino = true, hydro = true, lazer = true, oppressor2 = true,
}

-- Cores padrão (RGB 0‑255)
Config.FlameColor = {r = 0, g = 80, b = 255}
Config.PurgeColor = {r = 255, g = 255, b = 255}

-- Locale (en, pt, fr, tr)
Config.Locale = "en"
```

{% hint style="info" %}
GitBook supports thousands of embedded websites out-of-the-box, simply by pasting their links. Feel free to check out which ones[ are supported natively](https://iframely.com).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rdhub.gitbook.io/rdhub-documentation/documentation/rdh-nitro/interactive-blocks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
