# CFX::GET_VEHICLE_EXTRA_COLOURS

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

## Signature

```c
void GET_VEHICLE_EXTRA_COLOURS(Vehicle vehicle, int* pearlescentColor, int* wheelColor);
```

## Parameters

- `vehicle` (`Vehicle`)
- `pearlescentColor` (`int*`)
- `wheelColor` (`int*`)

## Returns

`void`

## Usage

### Lua

```lua
local pearlescentColor, wheelColor = GetVehicleExtraColours(vehicle)

-- always available, by hash
local pearlescentColor, wheelColor = Citizen.InvokeNative(0x80e4659b, vehicle, Citizen.PointerValueInt(), Citizen.PointerValueInt())
```

### JavaScript

```js
const [pearlescentColor, wheelColor] = GetVehicleExtraColours(vehicle);

// by hash
const [pearlescentColor, wheelColor] = Citizen.invokeNative('0x80e4659b', vehicle, Citizen.pointerValueInt(), Citizen.pointerValueInt());
```

### C#

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

- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.

*Sources: Cfx.re native reference.*
