ze_set_fire_grenade

Синтаксис

native ze_set_fire_grenade(id, bSet);

Употреба

id
Client index.
bSet
Boolean value, true will set fire on zombie.
false will stop fire on zombie.

Описание

Description:  Used to set/stop fire on zombie.

Връщаща стойност

true  | If successfully set/stop fire on zombie.
false | If returned 1 in ze_fire_pre() forward.
        Mean if fire action stopped by the pre forward.
-1    | If this zombie not alive.

Забележка

If zombie fired right now, you can use this to stop the fire
imediatly by using: ze_set_fire_grenade(id, false)
Same you can fire him at anytime.
Always check if user alive or not when using this native.
This will throw error in case of invalid player.