Garry's Mod Wiki

Player:SprintDisable

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()

Special Pages


Wikis

?

Render Time: 26ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 7
Render Body 0
Render Sidebar 9