0422

From GTAMods Wiki
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