VehicleClient

setVehicleExtraColour5

SET_VEHICLE_EXTRA_COLOUR_50xF40DD601A65F7F19

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

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

Usage

JavaScript
setVehicleExtraColour5(vehicle, color);
Lua
setVehicleExtraColour5(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_5(Vehicle vehicle, int color)
Hash
0xF40DD601A65F7F19
Introduced
Game build 505 legacy numbering
Formerly
_SET_VEHICLE_INTERIOR_COLOUR _SET_VEHICLE_INTERIOR_COLOR

Open in the interactive natives reference