Fridge Stashs

Here we can modify the stash that will be in the respective fridges.

```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
    },
}
```

Make Sure the identifier isnt used anywhere else in your server as it will open that stash.

For those not using the latest QB-Inventory

You will have to go into HapticLib/Server/functions/stash.lua and modify the function DynamicStash

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