03CE

From GTAMods Wiki
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.

Keywords

stuck, car, vehicle, check

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)