client_damage

Syntax

forward client_damage(attacker, victim, damage, wpnindex, hitplace, TA);

Usage

Parameter Description
attacker
Attacker client index
victim
Victim client index
damage
Damage dealt to victim
wpnindex
Weapon id
hitplace
Body hitplace
ta
If nonzero the attack was a team attack

Description

Called after a client attacks another client.

Note

  • For a list of possible weapon ids see the CSW_* constants in
    amxconst.inc
  • For a list of possible body hitplaces see the HIT_* constants in
    amxconst.inc

Return

This forward ignores the returned value.