Player.SetDuckSpeed

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:SetDuckSpeed( Number Time in seconds. )
Description:
Sets the time in seconds it takes for the player to move from standing upright to ducking.
Returns: nil
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.SetDuckSpeed]Player.SetDuckSpeed [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionMakes the player take two seconds to duck.
Used onNewerShared.png
Code
 
     Player:SetDuckSpeed( 2 )
 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox