Garry's Mod Wiki

CUserCmd:KeyDown

CUserCmd:KeyDown

boolean CUserCmd:KeyDown( number key )

Description

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

Arguments

1 number key
Bitflag representing which button to check, see Enums/IN.

Returns

1 boolean
Is key down or not

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7