Server
CreateUseableItem
For QB users you can use QB.Functions.CreateUseableItem instead.
exports["bt-inventory"]:CreateUsableItem(itemName, function(source, item) end)
itemName:
string
- The name of the item to make usable.source:
number
- The ID of the player using the item.item:
table
- A table containing information about the item, such as its ID, name, and any other relevant data.
ClearInventory
exports["bt-inventory"]:ClearInventory(data)
data:
string
|number
. Number would be the player id and string is the inv idReturn true or false depending if it was successfull
Last updated