Difference between revisions of "0AB0"

From GTAMods Wiki
Jump to navigation Jump to search
m
(page updates)
Line 1: Line 1:
{{OpCode
+
{{This|For CLEO for GTA III and Vice City prior to v2.0.0.0, use opcode 05EE.}}
| ini        = 0AB0=1, %1d%
+
{{Icon|t}} (with [[CLEO]])
| description = Checks if a specific key is pressed
+
<hr />
| p1          = Virtual key number
+
'''Description'''
| game        = [[San Andreas]] with [[CLEO]]
+
: Checks if a specific key is pressed
}}
+
'''Syntax'''
This is a [[CLEO]] opcode that checks if a certain key is pressed. It is very similar to [[00E1]], but has a wider array of keys to choose from.
+
: 0AB0:  key_pressed [''int'']
 +
'''Parameter'''
 +
: [''int'']
 +
:: Virtual key number
  
== External link ==
+
This [[CLEO]] opcode checks if a certain key is pressed. It is very similar to [[00E1]], but has a wider array of keys to choose from.
 +
 
 +
== Keywords ==
 +
keypress, key, press, button
 +
 
 +
== External links ==
 
* [http://www.indigorose.com/webhelp/ams/Program_Reference/Misc/Virtual_Key_Codes.htm List of virtual key codes]
 
* [http://www.indigorose.com/webhelp/ams/Program_Reference/Misc/Virtual_Key_Codes.htm List of virtual key codes]
 
* [http://msdn.microsoft.com/en-us/library/dd375731%28VS.85%29.aspx Another list of virtual key codes]
 
* [http://msdn.microsoft.com/en-us/library/dd375731%28VS.85%29.aspx Another list of virtual key codes]
  
 
[[Category:CLEO Opcodes]]
 
[[Category:CLEO Opcodes]]

Revision as of 10:06, 2 January 2016

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 a specific key is pressed

Syntax

0AB0: key_pressed [int]

Parameter

[int]
Virtual key number

This CLEO opcode checks if a certain key is pressed. It is very similar to 00E1, but has a wider array of keys to choose from.

Keywords

keypress, key, press, button

External links