Garry's Mod Wiki

Player:GetWalkSpeed

Description

Returns the player's normal walking speed. Not sprinting, not slow walking. (+walk)

See also Player:SetWalkSpeed, Player:GetMaxSpeed and Player:GetRunSpeed.

Returns

1 number
The normal walking speed.

Example

Gets player 1's walk speed, and prints it to console

print( Entity( 1 ):GetWalkSpeed() )
Output: 200 in console by default

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 4
Generate Html 3
SaveChanges 8
Render Body 0
Render Sidebar 12