Difference between revisions of "0AB0"
Jump to navigation
Jump to search
(page updates) |
|||
Line 1: | Line 1: | ||
{{This|For CLEO for GTA III and Vice City prior to v2.0.0.0, use opcode 05EE.}} | {{This|For CLEO for GTA III and Vice City prior to v2.0.0.0, use opcode 05EE.}} | ||
− | {{Icon|t}} (with [[CLEO]]) | + | {{OpCode |
− | + | | games = {{Icon|t}} (with [[CLEO]]) | |
− | + | | description = Checks if the key is pressed | |
− | + | | syntax1 = 0AB0: key_pressed [''int''] | |
− | + | | p1t = [''int''] | |
− | + | | p1d = Virtual key number | |
− | + | }} | |
− | |||
− | |||
− | This [[CLEO]] opcode | + | 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 == | == Keywords == |
Latest revision as of 23:03, 27 August 2016
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