Difference between revisions of "03B0"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
| description = Checks if the [[garage]] is open
 
| description = Checks if the [[garage]] is open
 
| syntax1    = {{Icon|3}} {{Icon|VC}} 03B0:   garage [''garage handle''] door_open
 
| syntax1    = {{Icon|3}} {{Icon|VC}} 03B0:   garage [''garage handle''] door_open
| syntax2    = {{Icon|SA}} 03B0:   garage [''string''] door_open
+
| syntax2    = {{Icon|SA}} 03B0:   garage '[''string'']' door_open
 
| p1t        = [''garage handle'']
 
| p1t        = [''garage handle'']
 
| p1d        = The [[Garage#List of Garages|handle of the garage]]
 
| p1d        = The [[Garage#List of Garages|handle of the garage]]
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 physical 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

Latest revision as of 07:24, 7 November 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 physical 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