SetVehicleEngineStatus
Внешний вид
This function sets the vehicle's engine on or off.
void NAPI.Vehicle.SetVehicleEngineStatus(Vehicle vehicle, bool turnedOn);
Parameters
- vehicle: parameter input should be in Vehicle type
- turnedOn: parameter input should be in bool type
Example
<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleEngineStatus(vehicle, false); </syntaxhighlight>