Skip to main content

GetVehicleEngineStatus

Returns the vehicle's engline status.

  • vehicle: parameter input should be in Vehicle type

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

{{#tag:syntaxhighlight| bool engineOn = Vehicle.GetVehicleEngineStatus(vehicle); if(engineOn) {

  //Engine is on..

} |lang=csharp}} }}