# Create the SCBA Item for ox\_inventory

This guide explains how to create and configure the **SCBA item** for **ox\_inventory** so players can equip/remove the SCBA directly from their inventory.

***

### 1. Configure the SCBA ItemName in `config.lua`

In **r\_scba**, open:

* `r_scba/config.lua`

Find your EUP SCBA entry and set the new option:

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

{% hint style="danger" %}
**Important:** This value **must match** the item name you will define in ox\_inventory.
{% endhint %}

***

### 2. Create the item in `ox_inventory/data/items.lua`

Open:

* `ox_inventory/data/items.lua`

Add this item definition:

```lua
['scba'] = {
    label = 'MSA G1 SCBA',
    weight = 10000,
    stack = false,
    consume = 0,
    client = {
        export = 'r_scba.SetSCBA'
    }
},
```

#### What each value means

* **label**: Display name shown in the inventory
* **weight**: Item weight (example: `10000` = 10kg depending on your setup)
* **stack = false**: Prevents stacking multiple SCBAs in one slot (recommended)
* **consume = 0**: The item is **not consumed** on use (recommended)
* **client.export**: Calls the **client export** `r_scba.SetSCBA` when using the item

### 3. Add the SCBA image (icon) for ox\_inventory

ox\_inventory loads item images from:

```
ox_inventory/web/images/
```

You already have the SCBA icon here:

```
r_scba/scba.png
```

#### Copy the file

Move or copy:

```
r_scba/scba.png
```

into:

```
ox_inventory/web/images/scba.png
```

The file name must match the item name (`scba`).

***

### 4. Restart and test

After saving changes:

1. Restart the server
2. Give yourself the item:
   * Use your admin menu / inventory give command (depends on your setup)

Then:

* Use the item in ox\_inventory → SCBA equips
* Use it again → SCBA removes (depending on your system logic)
