> For the complete documentation index, see [llms.txt](https://fivem.lvsoft.com.ar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivem.lvsoft.com.ar/qb-esx/lvs-clothing/blacklisting.md).

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