Garry's Mod Wiki

Player:GetRunSpeed

Player:GetRunSpeed

number Player:GetRunSpeed()

Description

Returns the player's sprint speed.

See also Player:SetRunSpeed, Player:GetWalkSpeed and Player:GetMaxSpeed.

Returns

1 number
The sprint speed

Example

Prints the players run speed in the code.

print( Entity( 1 ):GetRunSpeed() )
Output: 500

Special Pages


Wikis

?

Render Time: 51ms

DB GetPage 33
Generate Html 2
SaveChanges (1) 7
Render Body 0
Render Sidebar 6