Garry's Mod Wiki

Player:SprintDisable

  Player:SprintDisable()

Description

Disables the sprint on the player.

Not working - use Player:SetRunSpeed or CMoveData:SetMaxSpeed in a GM:Move hook, instead.

Issue Tracker: 2390

Example

Stops and prevents player with ID 1 from sprinting

Entity( 1 ):SprintDisable()