PlayerDamageInfo
Defined in: server/api.d.ts:2900
Details reported for a bullet that hit a player.
Properties
Section titled “Properties”attacker
Section titled “attacker”attacker:
Player|null
Defined in: server/api.d.ts:2904
Player whose bullet resolved the hit, or null when the shooter is gone.
bodyPart
Section titled “bodyPart”bodyPart:
number
Defined in: server/api.d.ts:2914
Native hit body-part identifier; 2 is a headshot.
damage
Section titled “damage”damage:
number
Defined in: server/api.d.ts:2924
Raw reported damage.
direction
Section titled “direction”direction:
Vector3
Defined in: server/api.d.ts:2934
Bullet direction.
normal
Section titled “normal”normal:
Vector3
Defined in: server/api.d.ts:2939
Impact surface normal.
position
Section titled “position”position:
Vector3
Defined in: server/api.d.ts:2929
World-space impact position.
power:
number
Defined in: server/api.d.ts:2919
Native impact power, before the body-part multiplier the victim applies.
weaponId
Section titled “weaponId”weaponId:
number
Defined in: server/api.d.ts:2909
Native weapon identifier.
