Garry's Mod Wiki

Revision Difference

Player:Lock#565015

<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 <page text="FL_FROZEN">Enums/FL</page> and <page text="FL_GODMODE">Enums/FL</page> flags to the player. ⤶ <bug>Frozen bots will still be able to look around.</bug>⤶ </description>⤶ ⤶ </description>⤶ <realm>Server</realm> </function>