0422

From GTAMods Wiki
Revision as of 02:22, 22 June 2016 by Spaceeinstein (talk | contribs)
(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 vehicle
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 if 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