Clothing Integration

Configure how character appearance/clothing is loaded and managed.

🎨 Supported Clothing Scripts

Script
Framework
Auto-Detected

bl_appearance

All

βœ…

illenium-appearance

All

βœ…

fivem-appearance

All

βœ…

rcore_clothing

All

βœ…

qb-clothing

QBCore

βœ…

skinchanger

ESX

βœ…

crm-appearance

All

βœ…

0r-clothing (v1/v2/v3)

All

βœ…


βš™οΈ Configuration

Located in config/config.lua:

Loading Appearance

Config.ClothingExports = function(cacheped, skinData)
    -- Automatically detects and uses your clothing script
    if GetResourceState('bl_appearance') == 'started' then
        exports.bl_appearance:SetPlayerPedAppearance(skinData)
    elseif GetResourceState('illenium-appearance') == 'started' then
        exports['illenium-appearance']:setPedAppearance(cacheped, skinData)
    -- ... more scripts
    end
end

Creating New Character Appearance


πŸ”§ Custom Clothing Script

If you use a clothing script not listed above, add support:

Step 1: Add to ClothingExports

Step 2: Add to CreateCharacterExports

Step 3: Add to getskin.lua (Server-side)

Edit server/getskin.lua:


πŸ“Š How Appearance Data is Stored

QBCore / QBox

Appearance stored in playerskins table:

ESX

Appearance stored in users table:

bl_appearance

Uses its own storage:

rcore_clothing

Uses its own storage:


🎭 Default Models

If no skin data is found, default models are used:

Gender
Model

Male

mp_m_freemode_01

Female

mp_f_freemode_01


πŸ“‹ Complete Configuration Example


❓ Troubleshooting

Character Appears Naked/Default

  1. Check if clothing script is started

  2. Verify skin data exists in database

  3. Check console for errors

Creator Doesn't Open

  1. Ensure CreateCharacterExports is configured

  2. Check if clothing script supports the event/export

Appearance Doesn't Save

  1. This is handled by your clothing script

  2. Check clothing script documentation

  3. Verify database permissions

Last updated