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
This function has no return value.
If the weapon id is not a custom weapon, an invalid client index, damage value or hitplace is provided, an error will be thrown.
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.