03CE
Jump to navigation
Jump to search
Description
- Checks if the vehicle is stuck
Syntax
- 03CE: car [car handle] stuck
Parameter
- car handle
- The handle of the vehicle
Native analog
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.