Player/SetCrouchedWalkSpeed

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

Contents

Description

Sets the crouched walk speed multiplier.

Doesn't work for values above 1.

See also Player:SetWalkSpeed and Player:GetCrouchedWalkSpeed.

Arguments

number speed

The walk speed multiplier that crouch speed should be.

Examples

Example

Set the crouch speed to be as fast as the players walk speed.

Entity(1):SetCrouchedWalkSpeed( 1 )

Output:

The player will crouch-walk as fast as normal walking.
Personal tools
Navigation