Difference between revisions of "03B0"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 03B0=1,  %1d%
+
| games      = {{Icon|t}}
| description = Checks if the [[garage]] is opened
+
| command    = IS_GARAGE_OPEN
| p1          = [[Garage#List_of_Garages|Garage ID]]
+
| description = Checks if the [[garage]] is open
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| syntax1    = {{Icon|3}} {{Icon|VC}} 03B0:   garage [''garage handle''] door_open
 +
| syntax2    = {{Icon|SA}} 03B0:   garage [''string''] door_open
 +
| p1t        = [''garage handle'']
 +
| p1d        = The [[Garage#List of Garages|handle of the garage]]
 +
| p2t        = [''string'']
 +
| p2d        = The [[Garage#San Andreas 2|name of the garage]]
 
| native      = [[IS_GARAGE_OPEN]]
 
| native      = [[IS_GARAGE_OPEN]]
 
}}
 
}}
This checks if the garage is opened. It does not matter if the door exists. For a save garage, it is opened if the vehicles inside the garage are spawned.
 
  
==Keywords==
+
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).
 +
 
 +
== Keywords ==
 
check, garage, door, open
 
check, garage, door, open

Revision as of 05:41, 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 serviced vehicle).

Keywords

check, garage, door, open