Declaration
func DestroyItem(target entity<Player>, item ItemIDType, count int)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | Player | Target Player |
| Item | ItemGoodsIDType | The type of item to delete |
| Count | Int | The number to be deleted. If it exceeds the number of items held by the player, only the owned items will be deleted. |