Difference between revisions of "0585"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|VC}} '''IS_IN_CAR_FIRE_BUTTON_PRESSED''' <hr /> '''Description''' : Checks if the fire button is pressed '''Syntax''' : 0585:   in_car_fire_button_pressed...")
 
m
 
Line 1: Line 1:
{{Icon|VC}} '''IS_IN_CAR_FIRE_BUTTON_PRESSED'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
'''Description'''
+
| command    = IS_IN_CAR_FIRE_BUTTON_PRESSED
: Checks if the fire button is [[00E1|pressed]]
+
| description = Checks if the fire button is [[00E1|pressed]]
'''Syntax'''
+
| syntax1    = 0585: &nbsp; in_car_fire_button_pressed
: 0585: &nbsp; in_car_fire_button_pressed
+
| p1t        = ''none''
'''Parameter'''
+
}}
: [''none'']
 
  
 
This opcode returns true if button 17 (attack) is pressed regardless if the player is in a car or not. The behavior is equivalent to checking if button 17 is pressed using opcode [[00E1]].
 
This opcode returns true if button 17 (attack) is pressed regardless if the player is in a car or not. The behavior is equivalent to checking if button 17 is pressed using opcode [[00E1]].
Line 12: Line 11:
 
== Keywords ==
 
== Keywords ==
 
check, fire, keypress, key, press, button
 
check, fire, keypress, key, press, button
 
[[Category:OpCodes]]
 

Latest revision as of 20:02, 10 November 2016

Vice City IS_IN_CAR_FIRE_BUTTON_PRESSED


Description
Checks if the fire button is pressed
Syntax
0585:   in_car_fire_button_pressed
Parameter
none

This opcode returns true if button 17 (attack) is pressed regardless if the player is in a car or not. The behavior is equivalent to checking if button 17 is pressed using opcode 00E1.

Keywords

check, fire, keypress, key, press, button