ze_set_frost_grenade

Синтаксис

native ze_set_frost_grenade(id, bSet);

Употреба

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

Описание

Description:  Used to set/stop freeze on zombie.

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

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

Забележка

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.