# Create the SCBA Item for ESX

This page explains how to create and configure the **SCBA item** for **ESX**, using the built-in `server/sv_utils.lua` logic from **r\_scba**.

***

### 1. Enable ESX support in `r_scba/config.lua`

Open:

```
r_scba/config.lua
```

Enable ESX:

```lua
Config.ESX = {
    enabled = true
}
```

Make sure **QBCore is disabled** if you’re not using it:

```lua
Config.QB = {
    enabled = false
}
```

***

### 2. Set the SCBA item name in the config

In your SCBA EUP config entry, set the item name:

```lua
ItemName = 'scba'
```

This must match the ESX item name you create in the database.

***

### 3. Create the item in your ESX database

ESX items are usually stored in the **`items`** table.

Run this SQL query:

```sql
INSERT INTO items (name, label, weight) VALUES
('scba', 'MSA G1 SCBA', 10);
```

#### Notes

* `name` must be exactly: `scba`
* `label` is the display name
* `weight` depends on your ESX version / weight system
  * If your ESX doesn’t use weight in the DB, remove the `weight` field from the query.

***


---

# 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://docs.rytrak.fr/scripts/firefighter-scba-system/create-the-scba-item-for-esx.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.
