Clothing
1. Applying Clothes to Ped Lineups
function Custom_ApplyPlayerClothing(ped, skinData)
-- By default, it defers to the bridge file
Bridge.Client.ApplyPlayerClothing(ped, skinData)
endBridge.Client.ApplyPlayerClothing = function(ped, skinData)
-- Add your custom export or event here. Example for a custom appearance script:
-- exports['my_custom_appearance']:setPedAppearance(ped, skinData)
-- Default illenium-appearance implementation:
if GetResourceState('illenium-appearance') == 'started' then
exports['illenium-appearance']:setPedAppearance(ped, skinData)
else
TriggerEvent('qb-clothing:client:loadPlayerClothing', skinData, ped)
end
end2. Triggering the Character Creator
Last updated