SetInventorySizeById
Sets an inventory to a X/Y size by inventory id
If the Inventory is currently loaded, we do not do internal checks if any items are overflowing after the change. So use this wisely or only make the inventory bigger, not smaller.
Params
Name
Optional
Example
inventoryId
no
1
sizeX
yes
6
sizeY
yes
6
Usage
local api = exports["bb_inventory"]:GetAPI()
api.SetInventorySizeById(13, 6, nil)
exports["bb_inventory"]:SetInventorySizeById(13, 6, nil)
Last updated