setVehicleNeonColour
SET_VEHICLE_NEON_COLOUR0x8E0A582209A62695The GTA V native SET_VEHICLE_NEON_COLOUR of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleNeonColour, in JavaScript and in Lua.
setVehicleNeonColour(vehicle: Vehicle, r: number, g: number, b: number): voidsetVehicleNeonColour(vehicle: Vehicle, r: integer, g: integer, b: integer)Usage
JavaScript
setVehicleNeonColour(vehicle, r, g, b);Lua
setVehicleNeonColour(vehicle, r, g, b)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
r | int | number | integer |
g | int | number | integer |
b | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets the color of the neon lights of the specified vehicle.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_NEON_COLOUR(Vehicle vehicle, int r, int g, int b)- Hash
0x8E0A582209A62695- Formerly
_SET_VEHICLE_NEON_LIGHTS_COLOUR