Player/GetRunSpeed

From Garry's Mod
Jump to: navigation, search
 Player:GetRunSpeed( )

Contents

Description

Returns the player's sprint speed.

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

Returns

number

The sprint speed

Examples

Example

Prints the players run speed in the code.

print( Entity( 1 ):GetRunSpeed() )

Output:

500
Personal tools
Navigation