custom_weapon_dmg
- Синтаксис
-
native custom_weapon_dmg(weapon, att, vic, damage, hitplace = 0);
Переменная | Описание |
---|---|
weapon |
Custom weapon id |
att |
Attacker client index |
vic |
Victim client index |
damage |
Damage dealt |
hitplace |
Optional body hitplace |
- Описание
- Triggers a damage event on a custom weapon, adding it to the internal stats.
- Пометка
-
This will also call the client_damage() and client_kill() forwards if applicable.
- Пометка
-
For a list of possible body hitplaces see the HIT_* constants in amxconst.inc
- Возвращает
- Функция ничего не возвращает