Player.GetDuckSpeed
From GMod Wiki
Revision as of 17:47, 17 March 2011 by [SoW] Dr. Chapman (Talk | contribs)
Function | |
Syntax | Player:GetDuckSpeed( ) |
Description: | |
This will return the time it takes for you, when you hold the crouch/duck-button to you are fully crouched/ducked. | |
Returns: | Float |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.GetDuckSpeed]Player.GetDuckSpeed [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Will print how long it takes to crouch/duck. |
---|---|
Used on | |
Code | Print(LocalPlayer():GetDuckSpeed()) |
Output | Prints 0.30(rounded) in console. |