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.

Example

Stops and prevents player with ID 1 from sprinting

player.GetByID( 1 ):SprintDisable()
Output: None, but Player 1's sprint is disabled.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 3
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 15