Player.IsFrozen
From GMod Wiki
Function | |
Syntax | Player:IsFrozen( ) |
Description: | |
Returns true if the player is frozen. | |
Returns: | Boolean |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.IsFrozen]Player.IsFrozen [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | If Player is frozen it will unfreeze when function is called |
---|---|
Used on | |
Code | function IsFrozen(ply) ply:Freeze(!ply:IsFrozen()) end |
Output | If Frozen: Will Unfreeze |