Declaration
event OnPlayerDealDamage(attacker entity<Player>, target entity<Player>, damageType DamageType, value int, damagedBodyPart DamagedBodyPartType)
go
Parameters
Name | Type | Description |
---|---|---|
Attacker | Player | The player who caused the damage |
Target | Player | Player who received damage |
Damage Type | DamageType | Damage Type |
Damage | Int | Damage |
Damaged Body Part | HitBodyPart | Hit Body Part |