Destroy Equipment

Items
Lado del servidor
Disponible en PC y móvil

Destroys the weapon in the player's specified slot

Declaración

func DestroyEquipment(target entity<Player>, slot EquipmentType, count int, out var isSuccess bool)
go

Parámetros

Entrada

Nombre Tipo Descripción
Target Player Target Player
Slot EquipSlotType Weapon slot to destroy
Count Int The number to destroy

Afuera

Nombre Tipo Descripción
Is Success Bool Whether the destruction is successful. If there is no weapon equipped in the weapon slot, the destruction will fail.