Adapt wardrobe
There are lots of wardrobe - clothing scripts on Fivem. We have no way of knowing the triggers of these scripts. So you will have to make this adaptation yourself.
Config.WardrobeFunction = function()
-- Enter here your wardrobe trigger
end
For example "fivem-appearance" Let's adapt it.
Config.WardrobeFunction = function()
exports['fivem-appearance']:startPlayerCustomization(function(appearance)
if (appearance) then
if ESX then
TriggerServerEvent('esx_skin:save', appearance)
else
TriggerServerEvent('ox_appearance:save', appearance)
end
end
end, {
ped = false,
headBlend = false,
faceFeatures = false,
headOverlays = false,
components = true,
props = true,
tattoos = true
})
end
Adaptation is not our responsibility.