forward

client_damage

Syntax

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

Description

Called after a client attacks another client.

Parameters

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

Note

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

Note

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

Return

This forward ignores the returned value.