From 91dd069e5a11bf6b3fbde01776a60c64abc7a3b9 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Mon, 15 Sep 2025 17:23:30 +0100 Subject: [PATCH] Use the correct illenium appearance trigger --- shared/playerfunctions.lua | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/shared/playerfunctions.lua b/shared/playerfunctions.lua index a43b6e7..be88940 100644 --- a/shared/playerfunctions.lua +++ b/shared/playerfunctions.lua @@ -920,17 +920,10 @@ local wardrobeFunc = { end) end, }, - { name = "illenium-appearance", + { + name = "illenium-appearance", openWardrobe = function() - exports['illenium-appearance']:startPlayerCustomization(function(appearance) - 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, - }) + TriggerEvent("illenium-appearance:client:openOutfitMenu") end, }, }