Clothing
Clothing and appearance integration for ak47_multicharacter.
Supports illenium-appearance, qb-clothing, and esx_skin natively. Custom appearance resources can be integrated via custom/client.lua and framework bridges.
Applying Appearance to Ped Lineups
Loads saved clothing data onto 3D preview peds.
Located in custom/client.lua:
function Custom_ApplyPlayerClothing(ped, skinData)
Bridge.Client.ApplyPlayerClothing(ped, skinData)
endLocated in framework bridge Bridge.Client.ApplyPlayerClothing:
Bridge.Client.ApplyPlayerClothing = function(ped, skinData)
if GetResourceState('illenium-appearance') == 'started' then
exports['illenium-appearance']:setPedAppearance(ped, skinData)
else
TriggerEvent('qb-clothing:client:loadPlayerClothing', skinData, ped)
end
endTriggering Character Creator
Opens the clothing menu when a newly created character spawns.
Located in framework bridge Bridge.Client.LoadSkin:
Bridge.Client.LoadSkin = function(isNewChar)
if isNewChar then
TriggerEvent('qb-clothes:client:CreateFirstCharacter')
end
endOn this page