PlayerDamageEvent
interface in cs_script/point_script.
CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · schema format 2.2
Members
player
player: CSPlayerPawnThe victim that has taken damage
damage
damage: numberThe actual health lost after hitgroup and armor modifications
damageTypes
damageTypes: CSDamageTypesThe type or types of damage.
damageFlags
damageFlags: CSDamageFlagsThe flags configuring how to interpret the damage.
hitGroup
hitGroup: CSHitGroupThe hit group where the damage occured.
inflictor
inflictor?: EntityThe entity applying the damage. For bullets this is the owner of the gun. For grenades this is the exploding projectile.
attacker
attacker?: EntityThe entity credited with causing the damage. For bullets this is the shooter. For grenades this is the thrower.
weapon
weapon?: CSWeaponBaseThe weapon used. For grenades this will not be present because the weapon is often removed before the projectile explodes.