# CFX::SET_VEHICLE_COLOUR_COMBINATION

- **Hash:** `0xA557AEAD`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetVehicleColourCombination`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_COLOUR_COMBINATION

## Signature

```c
void SET_VEHICLE_COLOUR_COMBINATION(Vehicle vehicle, int colorCombination);
```

## Parameters

- `vehicle` (`Vehicle`) — The vehicle to modify.
- `colorCombination` (`int`) — One of the default color values of the vehicle.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets the selected vehicle's colors to their default value (specific variant specified using the colorCombination parameter).
Range of possible values for colorCombination is currently unknown, I couldn't find where these values are stored either (Disquse's guess was vehicles.meta but I haven't seen it in there.)

**This is the server-side RPC native equivalent of the client native [SET_VEHICLE_COLOUR_COMBINATION](?\_0x33E8CD3322E2FE31).**

## Usage

### Lua

```lua
SetVehicleColourCombination(vehicle, colorCombination)

-- always available, by hash
Citizen.InvokeNative(0xa557aead, vehicle, colorCombination)
```

### JavaScript

```js
SetVehicleColourCombination(vehicle, colorCombination);

// by hash
Citizen.invokeNative('0xa557aead', vehicle, colorCombination);
```

### C#

```csharp
Function.Call((Hash)0xa557aead, vehicle, colorCombination);
```

*Sources: Cfx.re native reference.*
