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: 62ms

DB GetPage 6
Generate Html 3
SaveChanges (1) 42
Render Body 0
Render Sidebar 9