15 lines
423 B
Lua
15 lines
423 B
Lua
if Config.Inventory ~= 'tgiann-inventory' then
|
|
return
|
|
end
|
|
|
|
function openStash(customData, uniq)
|
|
local data = customData or Config.DefaultStashData
|
|
uniq = uniq or currentlyInGarage
|
|
uniq = uniq:gsub('-', '_')
|
|
local maxweight = data.maxweight or 10000
|
|
exports['tgiann-inventory']:OpenInventory('stash', uniq, {
|
|
maxweight = maxweight,
|
|
slots = data.slots or 100,
|
|
})
|
|
end
|