Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 2
Generate Html 4
SaveChanges 9
Render Body 0
Render Sidebar 12