wpnmod_radius_damage

Signature
native wpnmod_radius_damage(const Float:vecSrc[3], const iInflictor, const iAttacker, const Float:flDamage, const Float:flRadius, const iClassIgnore, const bitsDamageType);
Description

Make damage upon entities within a certain range.

Only damage ents that can clearly be seen by the explosion.

Parameters
  • vecSrc — Origin of explosion.
  • iInflictor — Entity which causes the damage impact.
  • iAttacker — Attacker index.
  • flDamage — Damage amount.
  • flRadius — Damage radius.
  • iClassIgnore — Class to ignore.
  • bitsDamageType — Damage type (DMG_BLAST and etc).
Назад
Верх