Difference between revisions of "0119"
Jump to navigation
Jump to search
m |
m |
||
Line 9: | Line 9: | ||
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]]. | 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 == | == Keywords == |
Latest revision as of 14:52, 15 January 2017
- 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