0119

From GTAMods Wiki
Revision as of 21:54, 31 December 2015 by Spaceeinstein (talk | contribs) (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'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas IS_CAR_DEAD


Description

Checks if the vehicle is dead

Syntax

0119:   car [car handle] wrecked

Parameter

[car handle]
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.

Keywords

check, car, vehicle, alive, dead, wrecked

See also

  • GTA III 00AC, checks if the vehicle is alive
  • GTA III Vice City San Andreas 0117, checks if the player is dead
  • GTA III Vice City San Andreas 0118, checks if the character is dead