VehicleClient1 output

getVehicleExtraColour6

GET_VEHICLE_EXTRA_COLOUR_60xB7635E80A5C31BFF

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

SignatureJavaScript
getVehicleExtraColour6(vehicle: Vehicle): number
SignatureLua
getVehicleExtraColour6(vehicle: Vehicle): integer

Usage

JavaScript
const color = getVehicleExtraColour6(vehicle);
Lua
local color = getVehicleExtraColour6(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

The output: the value of the call in JavaScript, the return value in Lua.

#ValueTypeJavaScriptLuaDescription
1colorintnumberintegeroutput

Reference

Namespace
Vehicle VEHICLE
In the game
void GET_VEHICLE_EXTRA_COLOUR_6(Vehicle vehicle, int* color)
Hash
0xB7635E80A5C31BFF
Introduced
Game build 505 legacy numbering
Formerly
_GET_VEHICLE_DASHBOARD_COLOUR _GET_VEHICLE_DASHBOARD_COLOR

Open in the interactive natives reference