# VEHICLE::_SET_VEHICLE_LIVERY

- **Hash:** `0xF89D82A0582E46ED`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `SetVehicleLivery`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/_SET_VEHICLE_LIVERY

## Signature

```c
void _SET_VEHICLE_LIVERY(Vehicle vehicle, int liveryIndex);
```

## Parameters

- `vehicle` (`Vehicle`)
- `liveryIndex` (`int`)

## Returns

`void`

## Description

https://github.com/femga/rdr3_discoveries/blob/master/vehicles/vehicle_modding/vehicle_liveries.lua

## Usage

### Lua

```lua
SetVehicleLivery(vehicle, liveryIndex)

-- always available, by hash
Citizen.InvokeNative(0xF89D82A0582E46ED, vehicle, liveryIndex)
```

### JavaScript

```js
SetVehicleLivery(vehicle, liveryIndex);

// by hash
Citizen.invokeNative('0xF89D82A0582E46ED', vehicle, liveryIndex);
```

### C#

```csharp
Function.Call((Hash)0xF89D82A0582E46ED, vehicle, liveryIndex);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

## See also

- [VEHICLE::_GET_VEHICLE_LIVERY](https://natives.borderlinerp.com/natives/VEHICLE/_GET_VEHICLE_LIVERY.md)

*Sources: alloc8or RDR3 NativeDB.*
