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: 25ms

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