Difference between revisions of "0119"
Jump to navigation
Jump to search
(Created page with "{{Icon|t}} '''IS_CAR_DEAD''' <hr /> '''Description''' : Checks if the vehicle is dead '''Syntax''' : 0119: car [''car handle''] wrecked '''Parameter''' : [''car handle'...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = IS_CAR_DEAD | |
− | + | | description = Checks if the vehicle is dead | |
− | + | | syntax1 = 0119: car [''car handle''] wrecked | |
− | + | | p1t = [''car handle''] | |
− | + | | p1d = The handle of the vehicle | |
− | + | }} | |
− | |||
− | This 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]]. |
== Keywords == | == Keywords == | ||
Line 18: | Line 17: | ||
* {{Icon|t}} [[0117]], checks if the player is dead | * {{Icon|t}} [[0117]], checks if the player is dead | ||
* {{Icon|t}} [[0118]], checks if the character is dead | * {{Icon|t}} [[0118]], checks if the character is dead | ||
− | |||
− |
Revision as of 18:53, 6 December 2016
- 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