getVehicleExtraColour5
GET_VEHICLE_EXTRA_COLOUR_50x7D1464D472D32136The 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.
getVehicleExtraColour5(vehicle: Vehicle): numbergetVehicleExtraColour5(vehicle: Vehicle): integerUsage
JavaScript
const color = getVehicleExtraColour5(vehicle);Lua
local color = getVehicleExtraColour5(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
The output: the value of the call in JavaScript, the return value in Lua.
| # | Value | Type | JavaScript | Lua | Description |
|---|---|---|---|---|---|
| 1 | color | int | number | integer | output |
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