Skip to tools

Appearance Preset Generator

Prepare clothing and hair drawables for a staging character.

Freemode drawables → qb-clothing Lua preset

Inputs

Model
Go to results ↓

Results

qb-clothing outfit preset

-- qb-clothing @ 8cca4009dd473ab30c30e443ecad50830b816ed7
-- Partial outfit. Apply only to a staging character with this model.
local preset = {
    model = 'mp_m_freemode_01',
    outfitData = {
        ['torso2'] = { item = 0, texture = 0 },
        ['t-shirt'] = { item = 0, texture = 0 },
        ['pants'] = { item = 0, texture = 0 },
        ['shoes'] = { item = 0, texture = 0 },
        ['hair'] = { item = 0, texture = 0 },
    },
}

-- Client-side, after qb-clothing and the test character have loaded:
if GetEntityModel(PlayerPedId()) == joaat(preset.model) then
    -- Preserve the current accessory; qb-clothing still enforces tracker clothing.
    preset.outfitData['accessory'] = { item = GetPedDrawableVariation(PlayerPedId(), 7), texture = GetPedTextureVariation(PlayerPedId(), 7) }
    TriggerEvent('qb-clothing:client:loadOutfit', { outfitData = preset.outfitData })
    -- loadOutfit updates hair data but does not apply hair drawables in this revision.
    SetPedComponentVariation(PlayerPedId(), 2, preset.outfitData['hair'].item, 0, 0)
    SetPedHairColor(PlayerPedId(), preset.outfitData['hair'].texture, preset.outfitData['hair'].texture)
else
    print('Preset model does not match this character; outfit was not applied.')
end

Target: qb-clothing @ 8cca4009 · partial outfit, texture 0.

Drawable IDs differ per server resource pack. Test in-game with a scratch character before shipping defaults.

Apply the preset

The export targets qb-clothing at 8cca4009. It contains named outfitData entries with item and texture, plus an exact client-side application example. Texture and hair colour default to zero.

Run the example in a temporary client resource after qb-clothing and your staging character have loaded. The model guard prevents applying male drawables to a female character (or the reverse). The snippet applies hair explicitly because this revision's outfit event updates hair data without applying the hair component.

Limits and staging checks

This is a partial outfit preset, not a complete saved player skin, identity editor, or appearance preview. It does not switch models or persist the character. The application example preserves the current accessory; the upstream outfit handler still enforces tracker clothing. Review it before use on a customized character.

Drawable ranges depend on the model, game build and installed clothing packs. Test both supported freemode models, clipping, texture availability and reconnect behavior on your staging server. Source-format tests do not prove in-game compatibility. Other appearance resources and older forks need their own adapters.