xPlayer.removeInventoryItem¶
1 | xPlayer.removeInventoryItem(item, count) |
This function removes an inventory item.
Arguments¶
| Argument | Data Type | Optional | Default Value | Explanation |
|---|---|---|---|---|
| item | string | No | - | Item name, valid items can be found in database table items |
| count | number | No | - | Amount of the item to remove |