client_damage
- Синтаксис
-
forward client_damage(attacker, victim, damage, wpnindex, hitplace, TA);
Переменная | Описание |
---|---|
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 |
- Описание
- Called after a client attacks another client.
- Пометка
-
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
- Возвращает
- Форвард игнорирует возвращаемое значение.