Player.SprintEnable
From GMod Wiki
Revision as of 13:43, 5 July 2010 by XKillerBoy (Talk | contribs)
Function | |
Syntax | Player:SprintEnable( ) |
Description: | |
Allows the player to sprint. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SprintEnable]Player.SprintEnable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Allows everyone to sprint. |
---|---|
Used on | |
Code | for i, ply in pairs(player.GetAll()) do if (ply:IsValid()) then ply:SprintEnable() end end |
Output | N/A |
Additional Notes
- Both SprintEnable and SprintDisable functions are broken.