> For the complete documentation index, see [llms.txt](https://docs.blazesmods.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blazesmods.com/scripts/ld-blazeshield/create-the-shield-item-for-esx.md). Agents can also search and read this documentation through its [MCP server](https://docs.blazesmods.com/~gitbook/mcp).

# Create the Shield Item for ESX

For ESX with the **default ESX inventory**. If you run ox\_inventory on ESX, use [Create the Shield Item for ox\_inventory](https://docs.blazesmods.com/scripts/ld-blazeshield/create-the-shield-item-for-ox_inventory.md) instead.

***

### **1. Add the items**

Run this SQL on your database. It is also in `install/esx_items.sql`.

```sql
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
    ('shield_sasp', 'SASP Ballistic Shield', 8, 0, 1),
    ('shield_sasp_cover', 'SASP Ballistic Shield (Cover)', 9, 0, 1),
    ('shield_police', 'Police Ballistic Shield', 8, 0, 1),
    ('shield_police_cover', 'Police Ballistic Shield (Cover)', 9, 0, 1),
    ('shield_sheriff', 'Sheriff Ballistic Shield', 8, 0, 1),
    ('shield_sheriff_cover', 'Sheriff Ballistic Shield (Cover)', 9, 0, 1),
    ('shield_fbi', 'FBI Ballistic Shield', 8, 0, 1),
    ('shield_fbi_cover', 'FBI Ballistic Shield (Cover)', 9, 0, 1)
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
```

The items are registered as usable by the script. There is nothing else to add.

***

### **2. How it works**

* Using a shield item raises that shield. Using it again lowers it.
* If the player owns none of the weapons in `Config.Weapon`, the first one is given while the shield is up.
* The shield comes down when the item is removed from the inventory.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blazesmods.com/scripts/ld-blazeshield/create-the-shield-item-for-esx.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
