Fridge Stashs
```lua
Config.FridgeStashs = {
["bs_fridge"] = { -- Must be unique, (recommended max 9 Characters) (Using the same ID as any other stash in your server will cause you issues. If you have any issues make sure to try change this and the id below)
id = "bs_fridge", -- Make it the same as above
stashlabel = "Burgershot Fridge",
maxweight = 5000,
slots = 50
},
}
```For those not using the latest QB-Inventory
RegisterServerEvent("HapticLib:Server:DynamicStash")
RegisterNetEvent('HapticLib:Server:DynamicStash', function(id, slots, weight, label)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
local datas = { label = label, maxweight = weight, slots = slots }
exports['qb-inventory']:OpenInventory(source, id, datas)
end)Last updated