RedM Natives

_SET_VEHICLE_LIVERY

Hash0xF89D82A0582E46ED
Runtime nameSetVehicleLivery
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_VEHICLE_LIVERY(Vehicle vehicle, int liveryIndex);

Parameters

NameTypeDescription
vehicleVehicle—
liveryIndexint—

Returns void

Description

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

Usage

Lua
SetVehicleLivery(vehicle, liveryIndex)

-- always works, by hash
Citizen.InvokeNative(0xF89D82A0582E46ED, vehicle, liveryIndex)
JavaScript and C#
JavaScript
SetVehicleLivery(vehicle, liveryIndex);

// by hash
Citizen.invokeNative('0xF89D82A0582E46ED', vehicle, liveryIndex);
C#
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

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.