ze_set_fire_grenade

Syntax

native ze_set_fire_grenade(id, bSet);

Usage

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

Description

Description: Used to set/stop fire on zombie.

Return

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.
NULLENT | If this zombie not alive.

Note

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.
You can also set fire on alive humans.