# Blacklisting

## How to Blacklist Clothes / Hairstyles

Blacklisting clothes and hairstyles based on: **Jobs**, **Gangs**, **ACEs**, **CitizenIDs**

To blacklist items, add the configuration in `config/blacklist.lua`. Here is a simplified example:

**Example:**

* Jackets: 25 (Accessible only to the "police" job)
* Hats: 41 (Accessible only to the "ballas" gang)
* Hair: 15 (All textures)
* Shirts: 16 (Accessible only to the CitizenID "LVS12345")

**Configuration in `shared/blacklist.lua`:**

```lua
Config.Blacklist = {
    male = {
        hair = {
            { drawables = {15} }
        },
        components = {
            jackets = {
                { drawables = {25}, jobs = {"police"} }
            },
            shirts = {
                { drawables = {16}, citizenids = {"LVS12345"} }
            }
        },
        props = {
            hats = {
                { drawables = {41}, gangs = {"ballas"} }
            }
        }
    },
    female = {
        components = {},
        props = {}
    }
}
```

You can separately blacklist clothes and hairstyles for males and females.

***

## How to Blacklist PEDs

Blacklisting PEDs based on Jobs, Gangs, ACEs.

To blacklist add the configuration to `config/peds.lua`. The default file contains all PEDs models without any blacklisting. Here's a simplified example:

**Example:**

Configuration in **`config/peds.lua`:**

```lua
Config.Peds = {
    {    // List of all PEDs accessible to everyone
        male = {...},
        female = {...},
        wild = {}
    },
    {    // List of PEDs accessible to police job
        male = {"a_f_m_beach_01", "a_f_m_bevhills_01", "a_f_m_bevhills_02"},
        jobs = {"police"}
    },
    {    // Vagos gang can access to a_f_m_bodybuild_01
        male = {"a_f_m_bodybuild_01"},
        jobs = {"vagos"}
    },
    {
        female = {"a_f_m_downtown_01"},
        aces = {"admin"}
    }
}
```


---

# 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://fivem.lvsoft.com.ar/qb-esx/lvs-clothing/blacklisting.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.
