ze_set_frost_grenade

Syntax

native ze_set_frost_grenade(id, bSet);

Usage

id
Client index.
bSet
Boolean value, true will freeze zombie. false will unfreeze zombie.

Description

Description: Used to set/stop freeze on zombie.

Return

true    | If successfully freeze/unfreeze zombie.
false   | If returned 1 in ze_frost_pre() forward.
        Mean if freeze action stopped by the pre forward.
        Or if player already frozen
NULLENT | If this zombie not alive.

Note

If zombie frozen right now, you can use this to unfreeze him
imediatly by using: ze_set_frost_grenade(id, false)
Same you can freeze 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 freeze alive humans.