03CE

From GTAMods Wiki
Revision as of 21:31, 25 June 2015 by Seemann (talk | contribs) (Created page with "{{Icon|trilogy}} '''IS_CAR_STUCK''' <hr /> '''Description''' : Checks if the vehicle is stuck '''Syntax''' : 03CE: car [''car handle''] stuck '''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_STUCK


Description

Checks if the vehicle is stuck

Syntax

03CE: car [car handle] stuck

Parameter

car handle
The handle of the vehicle

Native analog

IS_CAR_STUCK

This opcode checks if the vehicle previously stored to the stuck cars array is stuck. It is true if the vehicle does not travel the required distance for a certain period of time. No matter who controls the vehicle - the AI or the player, or is there a driver at all. If the vehicle marked as stuck then travels enough distance to meet the requirements set with 03CC, the vehicle is no longer marked as stuck, and the opcode returns false.

See also

  • 03CC – adds the car to the stuck cars array
  • 03CD – removes the car from the stuck cars array
  • San Andreas 072F – adds the car to the stuck cars array (extended version)