> For the complete documentation index, see [llms.txt](https://5code.gitbook.io/5code-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://5code.gitbook.io/5code-docs/5code-loadouts.md).

# 5Code Loadouts

Advanced police armory & loadout system for QBCore, Qbox, and ESX.

5Code Loadouts is a paid FiveM script that gives police departments an armory NPC where officers pull pre-built loadouts for their unit. A deposit is taken from the officer's bank on deploy and refunded on return, minus a penalty for any missing items. Bosses and admins manage everything from an in-game UI, and every action is logged in-game and to Discord.

### Highlights

* Pre-built loadouts per unit (Patrol, K9, SWAT, etc.) deployed by an armory NPC.
* Bank deposit on deploy, automatic refund on return, penalty for missing items.
* In-game management UI for bosses and admins (dashboard, editor, settings, activity).
* One active loadout per officer, enforced at the database layer.
* VIP loadouts and per-equipment VIP overrides.
* Full activity log with in-game viewer and Discord mirror.
* Multi-framework: QBCore, Qbox, ESX with auto-detect.
* Multi-inventory and multi-notification support, open bridges, multi-language.

### Compatibility

| Area          | Supported                                    | Notes                                       |
| ------------- | -------------------------------------------- | ------------------------------------------- |
| Framework     | QBCore, Qbox, ESX                            | Auto-detected via Config.Framework = 'auto' |
| Inventory     | qb-inventory, ox\_inventory, codem-inventory | Choose one in Config.InventorySystem        |
| Notifications | qb, ox\_lib, codem-notification, esx         | Choose one in Config.NotifySystem           |
| Database      | oxmysql                                      | Tables auto-create on first start           |
| Languages     | English + open locale files                  | See Localization                            |

{% hint style="info" %}
New here? Head to **Requirements** to confirm your server has what's needed, then follow **Installation** to get up and running.
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://5code.gitbook.io/5code-docs/5code-loadouts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
