VehicleClient

getIsVehicleSecondaryColourCustom

GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM0x910A32E7AAD2656C

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

SignatureJavaScript
getIsVehicleSecondaryColourCustom(vehicle: Vehicle): boolean
SignatureLua
getIsVehicleSecondaryColourCustom(vehicle: Vehicle): boolean

Usage

JavaScript
const result = getIsVehicleSecondaryColourCustom(vehicle);
Lua
local result = getIsVehicleSecondaryColourCustom(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Check if Vehicle Secondary is avaliable for customize

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM(Vehicle vehicle)
Hash
0x910A32E7AAD2656C

Open in the interactive natives reference