> 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 %}
