Jump to navigation Jump to search
A_DropInventory (string itemtype [, int amount])
Drops an item from the caller's inventory to the ground.
- itemtype: the desired item to drop. The item must be present in the caller's inventory in order to be dropped.
- amount: specifies the number of samples the dropped item contains. The function cannot drop more than what is available in the inventory. Default is -1, which means one sample.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|