03B1

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas IS_GARAGE_CLOSED


Description
Checks if the garage is closed
Syntax
GTA III Vice City 03B1:   garage [garage handle] door_closed
San Andreas 03B1:   garage '[string]' door_closed
Parameter
[garage handle]
The handle of the garage
[string]
The name of the garage
Native analog
IS_GARAGE_CLOSED

This conditional opcode returns true if the state of the garage is closed. This happens regardless of a physical door. It only detects state 0 (fully closed), not state 5 (fully closed with vehicle dropped off for garage types 14 or 21).

Keywords

check, garage, door, close, closed