0119
Revision as of 18:53, 6 December 2016 by Spaceeinstein (talk | contribs)
- Description
- Checks if the vehicle is dead
- Syntax
- 0119: car [car handle] wrecked
- Parameter
- [car handle]
- The handle of the vehicle
This conditional opcode returns true if the vehicle is dead, which occurs when the vehicle is blown up and rendered undrivable. The vehicle is also dead if it is submerged into water, except if it is a boat. The vehicle can be revived if it can be rendered drivable again, e.g. fished out of the water. In GTA III, it behaves exactly opposite to opcode 00AC.
Keywords
check, car, vehicle, alive, dead, wrecked