VehicleClient1 output

getVehicleExtraColour5

GET_VEHICLE_EXTRA_COLOUR_50x7D1464D472D32136

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

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

Usage

JavaScript
const color = getVehicleExtraColour5(vehicle);
Lua
local color = getVehicleExtraColour5(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_5(Vehicle vehicle, int* color)
Hash
0x7D1464D472D32136
Introduced
Game build 505 legacy numbering
Formerly
_GET_VEHICLE_INTERIOR_COLOUR _GET_VEHICLE_INTERIOR_COLOR

Open in the interactive natives reference