CUserCmd/KeyDown

From Garry's Mod
Jump to: navigation, search
 CUserCmd:KeyDown( )

Description

Returns true if the specified button(s) is pressed.

Arguments

number key

Bitflag representing which button to check, see IN_ Enums.

Returns

boolean

Is key down or not
Personal tools
Navigation