rcore_clothing partial support

This relys on the default server file to handle most, but we have opening menus and when rcore_clothing provides as qb/esx_skin this should resolve the errors if the framework didnt match the bridged option. Formatting fixed, debug commands disabled as this is for production.
This commit is contained in:
MrNewb committed 2025-07-11 15:23:24 -04:00
1 parent a280606c3d
commit c7d638cbfb
13 files changed
+124 -174

No files matched your search

+2 -4
View File
@@ -1,5 +1,4 @@
--[[This module is incomplete]]--
---@diagnostic disable: duplicate-set-field
Clothing = Clothing or {}
Clothing.LastAppearance = Clothing.LastAppearance or {}
Callback = Callback or Require("lib/utility/shared/callbacks.lua")
@@ -10,7 +9,6 @@ function Clothing.IsMale(src)
return GetEntityModel(ped) == `mp_m_freemode_01`
end
function Clothing.GetAppearance(src)
return Callback.Trigger('community_bridge:cb:GetAppearance', src)
end
@@ -55,4 +53,4 @@ end
-- Clothing.ReloadSkin(src)
-- end)
return Clothing
return Clothing