0AB0

From GTAModding
Jump to: navigation, search
For CLEO for GTA III and Vice City prior to v2.0.0.0, use opcode 05EE.

GTA III Vice City San Andreas (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

External links