Garry's Mod Wiki

Garry's Mod Wiki

  boolean CMoveData:KeyPressed( number key )

Description

Returns whether the key was pressed. If you want to check if the key is held down, try CMoveData:KeyDown

Arguments

1 number key
The key to test, see IN enum

Returns

1 boolean
Was the key pressed 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...