Files
MrNewb c582ce69e9 Add check for 17mov_CharacterSystem resource
Added a conditional check for the '17mov_CharacterSystem' resource in all clothing module scripts. This prevents the modules from loading if '17mov_CharacterSystem' is present, improving compatibility and avoiding conflicts.
2025-10-12 21:52:12 -04:00

15 lines
508 B
Lua

---@diagnostic disable: duplicate-set-field
if GetResourceState('illenium-appearance') == 'missing' then return end
if GetResourceState('rcore_clothing') ~= 'missing' then return end
if GetResourceState('17mov_CharacterSystem') ~= 'missing' then return end
Clothing = Clothing or {}
function Clothing.OpenMenu()
TriggerEvent('qb-clothing:client:openMenu')
end
---This will get the name of the in use resource.
---@return string
Clothing.GetResourceName = function()
return 'illenium-appearance'
end