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.
15 lines
508 B
Lua
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 |