Garry's Mod Wiki

Revision Difference

Player:SetCanWalk#563367

<function name="SetCanWalk" parent="Player" type="classfunc"> <description>Set if the player should be allowed to walk using the (default) alt key.</description> <description>Set if the player should be allowed to walk using the (default) alt key. (`+walk` keybind)</description> <realm>Shared</realm> <args> <arg name="abletowalk" type="boolean">True allows the player to walk.</arg> <arg name="canWalk" type="boolean">`true` allows the player to walk.</arg> </args> </function>