Player:KeyReleased
From GMod Wiki
Function | |
Syntax | Player:KeyReleased( Number key ) |
Description: | |
Gets whether the key was released. Only works once for each press of the key. | |
Returns: | boolean |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player:KeyReleased]Player:KeyReleased [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- See IN_KEYS for keys to use in this function
- Seems that this function is only shared singleplayer (Bug?).