LV Soft FiveM
  • LV SOFT
    • 👋Welcome!
    • 🛒Tebex
    • 💬Discord
  • QB/ESX
    • ☮️lvs-loading
      • Installation
      • Configuration
    • 👫lvs-multichar
      • Installation
      • Configuration
      • Adding Scenes
      • Tebex Integration
      • Commands
    • 🗺️lvs-spawnselector
      • Installation
      • Configuration
    • 🥼lvs-clothing
      • Installation
        • QBCore Install
        • ESX Install
      • Configuration
      • Migration
        • qb-clothing
        • esx-skinchanger
        • Illenium-Appareance
      • Blacklisting
      • Events
      • Commands
    • ⚙️lvs-lib
      • black-screen loading
      • notifications
      • progressbar
      • key-interaction
      • textui
      • alert
      • context menu
      • context input
    • 💬lvs-chat
      • Installation
      • Configuration
      • Events & Exports
    • 📱lvs-radio
      • Installation
      • Configuration
      • Events & Exports
    • 🗃️lvs-playerlist
      • Installation
      • Configuration
    • 📹lvs_weazelnews
      • Installation
      • Configuration
    • 🎒lvs-inventory
      • Installation
      • Configuration
      • lvs-inventory
        • exports
      • lvs-shops
        • Configuration
        • Exports
      • lvs-crafting
    • 🪪lvs-idmanager
      • Installation
      • Configuration
      • Exports
  • Standalone
    • 🚘lvs-drift
      • Installation
      • Configuration
      • Commands
    • 🕺lvs-animations
      • Installation
      • Configuration
      • Adding Animations
      • Exports/Events
    • 💥lvs-accident
      • Installation
      • Configuration
    • 🔥lvs-explosion
      • Installation
      • Configuration
    • 🏎️lvs-racing
  • ESX
    • 📅Soon
Powered by GitBook
On this page
  • How to Blacklist Clothes / Hairstyles
  • How to Blacklist PEDs
  1. QB/ESX
  2. lvs-clothing

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:

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"}
    }
}
PreviousIllenium-AppareanceNextEvents

Last updated 9 months ago

🥼