# CFX::GET_IS_VEHICLE_ENGINE_RUNNING

- **Hash:** `0x7DC6D022`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetIsVehicleEngineRunning`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_IS_VEHICLE_ENGINE_RUNNING

## Signature

```c
BOOL GET_IS_VEHICLE_ENGINE_RUNNING(Vehicle vehicle);
```

## Parameters

- `vehicle` (`Vehicle`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = GetIsVehicleEngineRunning(vehicle)

-- always available, by hash
local retval = Citizen.InvokeNative(0x7dc6d022, vehicle, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = GetIsVehicleEngineRunning(vehicle);

// by hash
const retval = Citizen.invokeNative('0x7dc6d022', vehicle, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x7dc6d022, vehicle);
```

*Sources: Cfx.re native reference.*
