03B1

From GTAMods Wiki
Revision as of 18:08, 29 July 2016 by Spaceeinstein (talk | contribs) (Created page with "{{OpCode | games = {{Icon|t}} | command = IS_GARAGE_CLOSED | description = Checks if the garage is closed | syntax1 = {{Icon|3}} {{Icon|VC}} 03B1:   gar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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