getVehicleModColor2Name
GET_VEHICLE_MOD_COLOR_2_NAME0x4967A516ED23A5A1The GTA V native GET_VEHICLE_MOD_COLOR_2_NAME of the VEHICLE namespace, as LS:MP client scripts call it: the global function getVehicleModColor2Name, in JavaScript and in Lua.
getVehicleModColor2Name(vehicle: Vehicle): stringgetVehicleModColor2Name(vehicle: Vehicle): stringUsage
JavaScript
const text = getVehicleModColor2Name(vehicle);Lua
local text = getVehicleModColor2Name(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
string JavaScript string, Lua stringNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns a string which is the codename of the vehicle's currently selected secondary color
Reference
- Namespace
- Vehicle VEHICLE
- In the game
const char* GET_VEHICLE_MOD_COLOR_2_NAME(Vehicle vehicle)- Hash
0x4967A516ED23A5A1