RedM Natives

_SET_VEHICLE_TINT

Hash0x8268B098F6FCA4E2
Runtime nameSetVehicleTint
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_VEHICLE_TINT(Vehicle vehicle, int tintId);

Parameters

NameTypeDescription
vehicleVehicle—
tintIdint—

Returns void

Description

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

Usage

Lua
SetVehicleTint(vehicle, tintId)

-- always works, by hash
Citizen.InvokeNative(0x8268B098F6FCA4E2, vehicle, tintId)
JavaScript and C#
JavaScript
SetVehicleTint(vehicle, tintId);

// by hash
Citizen.invokeNative('0x8268B098F6FCA4E2', vehicle, tintId);
C#
Function.Call((Hash)0x8268B098F6FCA4E2, vehicle, tintId);
  • 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.