1
0
Fork 0
forked from Simnation/Main
Main/resources/[standalone]/tgiann-core/client/functions/clothing.lua
2025-07-09 19:41:05 +02:00

18 lines
729 B
Lua

local tgiann_clothing = GetResourceState("tgiann-clothing") ~= "missing"
local rcore_clothing = GetResourceState("rcore_clothing") ~= "missing"
tgiCore.OpenClothingShop = function()
--local invokingResource = GetInvokingResource()
if tgiann_clothing then
exports["tgiann-clothing"]:openMenu({
allowedMenus = { [0] = false, [1] = true, [2] = false, [3] = false },
isBerberMenu = false,
})
elseif rcore_clothing then
TriggerEvent('rcore_clothing:openShop', "binco")
elseif config.framework == "qb" then
TriggerEvent("qb-clothing:client:openOutfitMenu")
elseif confg.framework == "esx" then
-- TODO: Implement ESX clothing shop
end
end