Difference between revisions of "03B0"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
Line 12: Line 12:
 
}}
 
}}
  
This conditional opcode returns true if the state of the garage is open. This happens regardless of a door. The states it detects are 1 (fully opened) and 4 (fully opened with serviced vehicle).
+
This conditional opcode returns true if the state of the garage is open. This happens regardless of a door. The states it detects are 1 (fully opened) and 4 (fully opened with vehicle serviced by bomb or spray shops).
  
 
== Keywords ==
 
== Keywords ==
check, garage, door, open
+
check, garage, door, open, opened

Revision as of 07:13, 29 July 2016

GTA III Vice City San Andreas IS_GARAGE_OPEN


Description
Checks if the garage is open
Syntax
GTA III Vice City 03B0:   garage [garage handle] door_open
San Andreas 03B0:   garage [string] door_open
Parameter
[garage handle]
The handle of the garage
[string]
The name of the garage
Native analog
IS_GARAGE_OPEN

This conditional opcode returns true if the state of the garage is open. This happens regardless of a door. The states it detects are 1 (fully opened) and 4 (fully opened with vehicle serviced by bomb or spray shops).

Keywords

check, garage, door, open, opened