Declaración
func DestroyItem(target entity<Player>, item ItemIDType, count int)
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
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. |