0AB0
Revision as of 23:03, 27 August 2016 by Spaceeinstein (talk | contribs)
For CLEO for GTA III and Vice City prior to v2.0.0.0, use opcode 05EE.
(with CLEO)
- Description
- Checks if the key is pressed
- Syntax
- 0AB0: key_pressed [int]
- Parameter
- [int]
- Virtual key number
This conditional CLEO opcode returns true if the key is pressed. Practically any keys on the keyboard and mouse can be checked. It is unlike 00E1 which depends on and is limited by the game's control scheme.
Keywords
keypress, key, press, button