Player/GetDuckSpeed

From Garry's Mod
Jump to: navigation, search
 Player:GetDuckSpeed( )

Contents

Description

Returns a player's duck speed (in seconds)

Returns

number

duckspeed

Examples

Example

Gets player 1's duck speed in seconds, and prints it to console

print( player.GetByID( 1 ):GetDuckSpeed() )

Output:

0.3 in console (tested)
Personal tools
Navigation