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

DB GetPage 2
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 11