Garry's Mod Wiki

Revision Difference

Player:Lock#512485

<function name="Lock" parent="Player" type="classfunc">⤶ <description>⤶ Stops a player from using any inputs, such as moving, turning, or attacking. Key binds are still called. Similar to <page>Player:Freeze</page> but the player takes no damage.⤶ ⤶ Adds the [FL_FROZEN](/gmod/Enums/FL) and [FL_GODMODE](/gmod/Enums/FL) flags to the player.⤶ ⤶ <bug>Frozen bots will still be able to look around.</bug>⤶ </description>⤶ <realm>Server</realm>⤶ </function>⤶ ⤶