GetVehicleEngineHealth

From RAGE Multiplayer Wiki

Returns the vehicle's livery. Engine health is not the same as vehicle health.


C# Syntax

float NAPI.Vehicle.GetVehicleEngineHealth(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the engine health in float type.

Example

float engineHealth = NAPI.Vehicle.GetVehicleEngineHealth(vehicle);