AMX Mod X API Documentation

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

Called after a client attacks another client.

Notes
  • 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

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
No return value
Назад
Верх