Difference between revisions of "0AB0"

From GTAMods Wiki
Jump to navigation Jump to search
(cleanup-rewrite)
Line 1: Line 1:
{{Cleanup-rewrite}}
+
{{OpCode
 +
| ini        = 0AB0=1,  key_pressed %1d%
 +
| description = Checks if the key is pressed
 +
| p1          = Virtual key number
 +
| game        = [[San Andreas]]
 +
}}
 +
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.
  
This is a special keypress opcode, used to see if the player pressed a certain key. It is very similar to 00E1, but varies slightly; it has a wider array of keys to choose from.
+
== External Link ==
 +
[http://www.indigorose.com/webhelp/ams/Program_Reference/Misc/Virtual_Key_Codes.htm List of virtual key codes]
  
== Opcode usage ==
+
[[Category:CLEO Opcodes]]
0AB0: key_pressed 48
 
 
 
== Other Info ==
 
 
 
 
 
 
 
 
 
 
 
It checks if the player pressed key 48 (1) then ends the thread. (Kinda useless but good example XD)
 
 
 
[http://www.indigorose.com/webhelp/ams/Program_Reference/Misc/Virtual_Key_Codes.htm Here's a full keylist, credits to Indigo Rose]
 

Revision as of 16:41, 19 March 2009

{{{games}}}


Description
Checks if the key is pressed
Syntax
{{{syntax1}}}
Parameter

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.

External Link

List of virtual key codes