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.
This commit is contained in:
MrNewb committed 2025-10-12 21:52:12 -04:00
1 parent 91e295947b
commit c582ce69e9
11 files changed
+11

No files matched your search

@@ -1,6 +1,7 @@
---@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 {}
Clothing.Players = {}