0585

From GTAMods Wiki
Revision as of 05:18, 23 June 2015 by Spaceeinstein (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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