2026-04-14 17:41:39 +02:00

12 lines
371 B
Lua

if Config.Inventory ~= 'qs-inventory' then
return
end
function openStash(customData, uniq)
local data = customData or Config.DefaultStashData
uniq = uniq or currentlyInGarage
uniq = uniq:gsub('-', '_')
TriggerServerEvent('inventory:server:OpenInventory', 'stash', uniq, data)
TriggerEvent('inventory:client:SetCurrentStash', uniq)
end