GetVehicleEngineStatus

From RAGE Multiplayer Wiki

Returns the vehicle's engline status.


C# Syntax

bool NAPI.Vehicle.GetVehicleEngineStatus(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the engine status in bool type.

Example

bool engineOn = NAPI.Vehicle.GetVehicleEngineStatus(vehicle);
if(engineOn)
{
   //Engine is on..
}