setVehicleExtraColours
SET_VEHICLE_EXTRA_COLOURS0x2036F561ADD12E33The GTA V native SET_VEHICLE_EXTRA_COLOURS of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleExtraColours, in JavaScript and in Lua.
setVehicleExtraColours(
vehicle: Vehicle,
pearlescentColor: number,
wheelColor: number
): voidsetVehicleExtraColours(
vehicle: Vehicle,
pearlescentColor: integer,
wheelColor: integer
)Usage
JavaScript
setVehicleExtraColours(vehicle, pearlescentColor, wheelColor);Lua
setVehicleExtraColours(vehicle, pearlescentColor, wheelColor)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
pearlescentColor | int | number | integer |
wheelColor | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
They use the same color indexs as setVehicleColours.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_EXTRA_COLOURS(Vehicle vehicle, int pearlescentColor, int wheelColor)- Hash
0x2036F561ADD12E33