Removes an Item from the player inventory.
source
no
1
itemName
bread
amount
local api = exports["bb_inventory"]:GetAPI() local successful, removedCount = api.RemovePlayerItem(1, "bread", 5) local successful, removedCount = exports["bb_inventory"]:RemovePlayerItem(1, "bread", 5) print(successful, addedCount) --- true, 3
Last updated 25 days ago