native cod_repeat_damage(attacker, victim, Float:damage = 0.0, Float:time = 0.0, counter = 1, flags = DMG_CODSKILL, instant = true);
Player that makes damage
Player that is receiving damage
Damage amount to make
Interval between damage events
Damage dealt to players in dmgDistance
Damage flag in DMG_* format, alternatively FIRE, POISON, or HEAL
(healing player instead of hurting) to use custom effects out of the box.
If true makes first damage immediately
Makes repeating damage to player.
Uses cod_inflict_damage with DMG_REPEAT flag.
If damage or time is set 0.0 previous task will be removed and no new task created.
If counter is set 0 effect will last till player death or round end - usefull for constant healing.
This function has no return value.