Garry's Mod Wiki

Player:SetMaxSpeed

  Player:SetMaxSpeed( number walkSpeed )

Description

Sets the maximum speed which the player can move at.

This is called automatically by the engine. If you wish to limit player speed without setting their run/sprint speeds, see CMoveData:SetMaxClientSpeed.

Arguments

1 number walkSpeed
The maximum speed.