Garry's Mod Wiki

Garry's Mod Wiki

  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 IN enum.

Returns

1 boolean
Is key down or not

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...