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