Garry's Mod Wiki

Player:SprintEnable

Player:SprintEnable()

Description

Enables the sprint on the player.

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

Issue Tracker: 2390

Example

Allows the player with ID 1 to use the sprint (⇧ shift by default) feature.

Entity( 1 ):SprintEnable()

Page Links


Special Pages


Wikis

?

Render Time: 72ms

DB GetPage 43
Generate Html 3
SaveChanges (1) 11
Render Body 0
Render Sidebar 12