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:

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:

Last updated