# CFX::GET_VEHICLE_LIVERY

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

## Signature

```c
int GET_VEHICLE_LIVERY(Vehicle vehicle);
```

## Parameters

- `vehicle` (`Vehicle`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetVehicleLivery(vehicle)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
