# Clothing System

<figure><img src="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FlbJmnLajWkJNzJ0mmHle%2FClothing.png?alt=media&#x26;token=64953370-35a2-49db-8fb7-0f7891b15ced" alt=""><figcaption></figcaption></figure>

This system is compatible with all clothing systems on your server. You don't need to change anything on your server. You can continue using your existing clothing system; this is just an add-on for the police job.

#### 📖 Police Clothing System — General Logic

The **Police Clothing System** is designed to let officers quickly switch between **department-assigned uniforms** and their **personal saved outfits**. It uses a clean UI with two main tabs:

* **Police Uniform** → Shows predefined uniforms (short sleeve, long sleeve, trooper variations, SWAT, etc.). These are managed in the config.
* **My Clothes** → Allows officers to save and re-use their own clothing combinations.

When an officer selects a uniform, the system applies the configured outfit instantly. Supervisors can also **assign new uniforms** that appear for their department.

***

#### 🔹 How the Config Works

The `Cloths` table defines all available uniforms. It’s separated into **male** and **female** categories, each with numbered presets.

Each preset includes:

* **`outfitLabel`** → The name of the uniform shown in the menu.
* **`outfitData`** → The individual clothing parts (pants, arms, t-shirt, vest, torso, shoes, hat, mask, etc.).
* Each clothing part has an **item** (drawable ID) and **texture** (variation).

***

#### 🔹 Summary

* **Police Uniforms**: Pre-configured outfits by rank/unit (e.g., Trooper, SWAT).
* **My Clothes**: Personal saved outfits.
* **Config-Driven**: Each outfit is fully customizable in `Cloths` config with items and textures.
* **Rank Control**: You can limit certain uniforms (like SWAT) to specific grades.
