0119
Revision as of 14:52, 15 January 2017 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.
Example
- See 0136#Example, 01C3#Example
Keywords
check, car, vehicle, alive, dead, wrecked