> For the complete documentation index, see [llms.txt](https://docs.rytrak.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rytrak.fr/scripts/advanced-shields-system/create-the-shield-item-for-esx.md).

# Create the Shield Item for ESX

This guide explains how to create and configure the **Shield item** for **ESX**.

***

### **1. Get the name of the shield item**

In **r\_shields**, open:

* `r_shields/config.lua`

Retrieve each name one by one from the shields listed in the script's configuration, by default, there will be three models:

* **ballistic\_shield**
* **prop\_ballistic\_shield**
* **wheel\_shield**

In our example, we'll use the first one (ballistic\_shield) but you'll need to repeat this process for all the shields on your list.

***

### **2. 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
('ballistic_shield', 'Ballistic Shield', 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.

***

### **3. Add the Shield image**

Most ESX inventories load images from:

```
esx_inventory/html/img/items/
```

You already have the icon here:

```
r_shields/ballistic_shield.png
```

Copy it to:

```
esx_inventory/html/img/items/ballistic_shield.png
```

The file name must match the item name.
