Player.KeyDown
From GMod Wiki
| Function | |
| Syntax | Player:KeyDown( Integer key ) |
| Description: | |
| Gets whether the key was pressed. Continues to return true while the player holds the key. | |
| Returns: | boolean |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.KeyDown]Player.KeyDown [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- See IN_KEYS for keys to use in this function