- Documentation
- Server functions
- isPedFrozen
Function
isPedFrozen
Checks whether a ped is frozen, i.e. cannot move or fall. Freezing is set with setElementFrozen; the player's game applies it immediately.
Syntax
bool isPedFrozen(ped ped)Arguments
pedped- A player or an NPC.
Returns
true when frozen.
Example
if isPedFrozen(player) then outputChatBox("Jesteś zamrożony.", player) end