Garry's Mod Wiki

Player:SetCanWalk

  Player:SetCanWalk( boolean canWalk )

Description

Set if the player should be allowed to walk using the (default) alt key. (+walk keybind)

Arguments

1 boolean canWalk
true allows the player to walk.