0422

From GTAMods Wiki
Revision as of 16:31, 23 January 2016 by Spaceeinstein (talk | contribs) (Created page with "{{OpCode | games = {{Icon|3}} | command = DOES_GARAGE_CONTAIN_CAR | description = Checks if the garage contains the car | syntax1 = 0422:   garage_contain_c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III DOES_GARAGE_CONTAIN_CAR


Description
Checks if the garage contains the car
Syntax
0422:   garage_contain_car [garage handle] [car handle]
Parameter
[garage handle]
The handle of the garage
[car handle]
The handle of the vehicle

This conditional opcode returns true when the vehicle is fully contained inside the garage. Note that wrecking the vehicle and leaving it inside the garage will eventually crash the game (it is not immediate).

Keywords

check, does, garage, contain, car, vehicle