Garry's Mod Wiki

Player:SetWalkSpeed

Player:SetWalkSpeed( number walkSpeed )

Description

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

There currently is no way to modify the slow walking +walk speed.

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

Using a speed of 0 can lead to prediction errors.

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: 32ms

DB GetPage 5
Generate Html 3
SaveChanges 9
Render Body 0
Render Sidebar 12