Destroy player item [Obsolete]

Items
Obsolete
Server Side
Both Mobile and PC

Destroys player items (deprecated, use DeleteEquipment)

Declaration

func DestroyEquipment_Deprecated(player entity<Player>, itemType InventoryType, slotType EquipmentType)
go

Parameters

Input

Name Type Description
Player Player Player whose item was destroyed
Type InventoryType Type of item destroyed
Weapon Slot EquipSlotType Weapon slot, only effective for weapons