_SET_VEHICLE_LIVERY
Hash
0xF89D82A0582E46EDRuntime name
SetVehicleLiveryNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_VEHICLE_LIVERY(Vehicle vehicle, int liveryIndex);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
liveryIndex | int | — |
Returns void
Description
https://github.com/femga/rdr3_discoveries/blob/master/vehicles/vehicle_modding/vehicle_liveries.lua
Usage
SetVehicleLivery(vehicle, liveryIndex)
-- always works, by hash
Citizen.InvokeNative(0xF89D82A0582E46ED, vehicle, liveryIndex)JavaScript and C#
SetVehicleLivery(vehicle, liveryIndex);
// by hash
Citizen.invokeNative('0xF89D82A0582E46ED', vehicle, liveryIndex);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
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.