# CFX::GET_VEHICLE_DASHBOARD_COLOUR

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

## Signature

```c
void GET_VEHICLE_DASHBOARD_COLOUR(Vehicle vehicle, int* color);
```

## Parameters

- `vehicle` (`Vehicle`)
- `color` (`int*`)

## Returns

`void`

## Usage

### Lua

```lua
local color = GetVehicleDashboardColour(vehicle, color)

-- always available, by hash
local color = Citizen.InvokeNative(0xa0dbd08d, vehicle, Citizen.PointerValueIntInitialized(color))
```

### JavaScript

```js
const color = GetVehicleDashboardColour(vehicle, color);

// by hash
const color = Citizen.invokeNative('0xa0dbd08d', vehicle, Citizen.pointerValueIntInitialized(color));
```

### C#

```csharp
var color = new OutputArgument();
Function.Call((Hash)0xa0dbd08d, vehicle, color);
// color.GetResult<int>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.

*Sources: Cfx.re native reference.*
