Garry's Mod Wiki

Player:SetCrouchedWalkSpeed

Player:SetCrouchedWalkSpeed

  Player:SetCrouchedWalkSpeed( number speed )

Description

Sets the crouched walk speed multiplier.

Doesn't work for values above 1.

See also Player:SetWalkSpeed and Player:GetCrouchedWalkSpeed.

Arguments

1 number speed
The walk speed multiplier that crouch speed should be.

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.

Special Pages


Wikis

?

Render Time: 66ms

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