Garry's Mod Wiki

Player:SetWalkSpeed

Player:SetWalkSpeed( number walkSpeed )

Description

Sets the player's normal walking speed. Not sprinting, not slow walking +walk.

See also Player:SetSlowWalkSpeed, Player:GetWalkSpeed, Player:SetCrouchedWalkSpeed, Player:SetMaxSpeed and Player:SetRunSpeed.

Using a speed of 0 can lead to prediction errors.

Issue Tracker: 2030
player_default class run speed is: 400

Arguments

1 number walkSpeed
The new walk speed when sv_friction is below 10. Higher sv_friction values will result in slower speed.

Has to be 7 or above or the player won't be able to move.

Page Links


Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 4
Generate Html 10
SaveChanges (1) 10
Render Body 0
Render Sidebar 12