Use the correct illenium appearance trigger

This commit is contained in:
Jim Shield
2025-09-15 17:23:30 +01:00
parent f96d96f26e
commit 91dd069e5a

View File

@@ -920,17 +920,10 @@ local wardrobeFunc = {
end) end)
end, end,
}, },
{ name = "illenium-appearance", {
name = "illenium-appearance",
openWardrobe = function() openWardrobe = function()
exports['illenium-appearance']:startPlayerCustomization(function(appearance) TriggerEvent("illenium-appearance:client:openOutfitMenu")
if appearance then
TriggerServerEvent("illenium-appearance:server:saveAppearance", appearance)
end
end, {
components = true, componentConfig = { masks = true, upperBody = true, lowerBody = true, bags = true, shoes = true, scarfAndChains = true, bodyArmor = true, shirts = true, decals = true, jackets = true },
props = true, propConfig = { hats = true, glasses = true, ear = true, watches = true, bracelets = true },
enableExit = true,
})
end, end,
}, },
} }