Skip to main content

Vehicle::getEngineHealth

Engine HealthStatus
1000Perfect - Undamaged
< 1000Damaged
< 400Engine is smoking and losing functionality
0Engine stops working and car is not drivable
< 0Engine catches fire, health rapidly declines and blows up seconds later

Maximum: 1000

Minimum: -4000

Note*: Returns 1000.0 if the function is unable to get the address of the specified vehicle or if it's not a vehicle.

Syntax

``` vehicle.getEngineHealth(); ```

Required Arguments

Return value

  • float

Example

See also