addItem
Arguments
inventoryName (string): The name of the inventory.
item (string): The item to add.
count (number): The quantity of the item.
metadata (table, optional): Additional metadata for the item.
Returns
success (boolean): Whether the item was successfully added.
Example Usage
Return Structure
If item is added successfully:
If item is not added successfully:
Last updated