The Lab
VEHICLE native

_SET_VEHICLE_LIVERY

returns void2 paramsbuild 1207

Sets the livery of vehicle to liveryIndex.

Signature

C
void _SET_VEHICLE_LIVERY(Vehicle vehicle, int liveryIndex); // 0xF89D82A0582E46ED b1207

Parameters

#NameType
1vehicleVehicle
2liveryIndexint

Facts

Facts about _SET_VEHICLE_LIVERY
Name
_SET_VEHICLE_LIVERY
Hash
0xF89D82A0582E46ED
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xF89D82A0582E46ED, -- _SET_VEHICLE_LIVERY
  0, -- Vehicle vehicle
  0 -- int liveryIndex
)
JavaScript
Citizen.invokeNative("0xF89D82A0582E46ED", // _SET_VEHICLE_LIVERY
  0, // Vehicle vehicle
  0 // int liveryIndex
);
C#
Function.Call((Hash)0xF89D82A0582E46ED, // _SET_VEHICLE_LIVERY
  0, // Vehicle vehicle
  0 // int liveryIndex
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.