VehicleClient

setVehicleExtraColour6

SET_VEHICLE_EXTRA_COLOUR_60x6089CDF6A57F326C

The GTA V native SET_VEHICLE_EXTRA_COLOUR_6 of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleExtraColour6, in JavaScript and in Lua.

SignatureJavaScript
setVehicleExtraColour6(vehicle: Vehicle, color: number): void
SignatureLua
setVehicleExtraColour6(vehicle: Vehicle, color: integer)

Usage

JavaScript
setVehicleExtraColour6(vehicle, color);
Lua
setVehicleExtraColour6(vehicle, color)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
colorintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_EXTRA_COLOUR_6(Vehicle vehicle, int color)
Hash
0x6089CDF6A57F326C
Introduced
Game build 505 legacy numbering
Formerly
_SET_VEHICLE_DASHBOARD_COLOUR _SET_VEHICLE_DASHBOARD_COLOR

Open in the interactive natives reference