Declaration
event OnDropConsumable(consumableID ItemIDType, item entity<Entity>)
go
Parameters
| Name | Type | Description |
|---|---|---|
| ConsumableID | ItemGoodsIDType | Item Type |
| Item | Entity | Item entity, can be null |
Triggered when the player drops an item other than a weapon
event OnDropConsumable(consumableID ItemIDType, item entity<Entity>)
go
| Name | Type | Description |
|---|---|---|
| ConsumableID | ItemGoodsIDType | Item Type |
| Item | Entity | Item entity, can be null |