RemoveInventoryItemBySlot

Removes an item from an inventory with an inventory Item slot


Params

Name
Optional
Example

inventoryId

no

1

slot

no

1

amount

yes

1

Usage

local api = exports["bb_inventory"]:GetAPI()

local successful = api.RemoveInventoryItemBySlot(1, 1)
local successful = exports["bb_inventory"]:RemoveInventoryItemBySlot(1, 1)

print(successful)
---true

Last updated