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.
9 lines
291 B
Lua
9 lines
291 B
Lua
---@diagnostic disable: duplicate-set-field
|
|
if GetResourceState('illenium-appearance') == 'missing' then return end
|
|
if GetResourceState('rcore_clothing') ~= 'missing' then return end
|
|
Clothing = Clothing or {}
|
|
|
|
function Clothing.OpenMenu()
|
|
TriggerEvent('qb-clothing:client:openMenu')
|
|
end
|