> 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/faq.md). Agents can also search and read this documentation through its [MCP server](https://docs.blazesmods.com/~gitbook/mcp).

# FAQ

<details>

<summary>/shield says "Use a shield from your inventory."</summary>

An inventory was detected, so the command is off and shields come from items. Use a shield item, or set `Config.Command = true` to allow the command as well.

</details>

<details>

<summary>"You need a pistol or rifle that works with the shield."</summary>

With ox\_inventory, the player must carry one of the weapons in `Config.Weapon`. Give them one, or add the weapon they use to the list.

</details>

<details>

<summary>Using the shield item does nothing (ox_inventory)</summary>

Check the `export` line on the item. It must be `<resource folder name>.useShieldItem`, for example `ld-blazeshieldV2.useShieldItem`. If you renamed the folder, change every item.

Also make sure `ld-blazeshieldV2` starts **after** `ox_inventory`.

</details>

<details>

<summary>The shield drops as soon as I switch weapons</summary>

That's intended with ox\_inventory: the shield is held with a weapon from `Config.Weapon`, so holstering or switching lowers it. Weapon switching and melee are blocked while the shield is up.

</details>

<details>

<summary>The light doesn't turn on</summary>

The light only works while a shield is up. Raise one first, then press the toggle key (middle mouse by default).

</details>

<details>

<summary>The beam points the wrong way</summary>

Set `Config.Light.debug = true` and restart. A red line shows where the beam goes and a green dot shows where it starts. Adjust `angle.down` and `angle.right` in `Config.Light.defaultModel`, or add an entry for that one model in `Config.Light.models`. Set `debug` back to `false` when you're done.

</details>

<details>

<summary>I changed a key in the config but nothing changed in game</summary>

FiveM saves keybinds per player. A new default only applies to players who never bound that key. Players can change it in **Settings > Key Bindings > FiveM**.

</details>

<details>

<summary>The shield light costs too many frames</summary>

Set `Config.Light.light.shadow = false`, or lower `Config.Light.net.shadowDistance` so fewer remote beams cast shadows.

</details>

<details>

<summary>How do I add my own agency?</summary>

Add an entry to `Config.Shields` with a `label`, `names`, its two `models` and two `items`, then add the items to your inventory. The light uses `Config.Light.defaultModel` for the new models unless you give them their own entry in `Config.Light.models`.

</details>

<details>

<summary>Which frameworks are supported?</summary>

Qbox, QBCore, ESX and standalone, detected automatically. On QBCore the items work with qb-inventory or ox\_inventory. On any other framework set `Config.Framework = 'standalone'` and use the `/shield` command, or ox\_inventory items with `Config.Inventory = 'ox'`.

</details>


---

# 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/faq.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.
