For the complete documentation index, see llms.txt. This page is also available as Markdown.

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:

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:

You already have the icon here:

Copy it to:

The file name must match the item name.

Last updated