# VEHICLE::SET_VEHICLE_ENGINE_ON

- **Hash:** `0xB64CFA14CB9A2E78`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `SetVehicleEngineOn`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/SET_VEHICLE_ENGINE_ON

## Signature

```c
void SET_VEHICLE_ENGINE_ON(Vehicle vehicle, BOOL value, BOOL instantly);
```

## Parameters

- `vehicle` (`Vehicle`)
- `value` (`BOOL`)
- `instantly` (`BOOL`)

## Returns

`void`

## Description

Starts or stops the engine on the specified vehicle.

vehicle: The vehicle to start or stop the engine on.
value: true to turn the vehicle on; false to turn it off.
instantly: if true, the vehicle will be set to the state immediately; otherwise, the current driver will physically turn on or off the engine.

## Usage

### Lua

```lua
SetVehicleEngineOn(vehicle, value, instantly)

-- always available, by hash
Citizen.InvokeNative(0xB64CFA14CB9A2E78, vehicle, value, instantly)
```

### JavaScript

```js
SetVehicleEngineOn(vehicle, value, instantly);

// by hash
Citizen.invokeNative('0xB64CFA14CB9A2E78', vehicle, value, instantly);
```

### C#

```csharp
Function.Call((Hash)0xB64CFA14CB9A2E78, vehicle, value, instantly);
```

*Sources: alloc8or RDR3 NativeDB.*
