# Outfit Bag Script

## <mark style="color:yellow;">**Overview**</mark>

The **Outfit Bag** script allows players to place a bag on the ground that can store and manage custom outfits. Whether you’re running an ESX or QBCore server, you can easily tweak the maximum outfits, cooldown timers, and more—all from a single config file.

## <mark style="color:yellow;">**Key Highlights**</mark>

* **Place & Collect Bags:** Players can place a physical bag (object model) on the ground and retrieve it later.
* **Store & Manage Outfits:** Save outfits (skin data), list them from the bag, and remove them when no longer needed.
* **Cooldown System:** Prevent frequent outfit changes with a configurable cooldown.
* **Database Support:** Uses MySQL for storing outfits (table: <mark style="color:yellow;">`bagoutfits`</mark>).
* **ESX/QBcore Compatibility:** Auto-detect or manually set your framework in the config.<br>

## <mark style="color:yellow;">**Preview Video**</mark>

{% embed url="<https://www.youtube.com/watch?v=iBQccoDaVSo>" %}


---

# Agent Instructions: 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:

```
GET https://risk-scripts.gitbook.io/risk-scripts/scripts/outfit-bag-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
