_SET_VEHICLE_NEON_LIGHTS_COLOUR
DocsSetVehicleNeonLightsColour(vehicle, r, g, b)Description
Sets the color of the neon lights on the specified vehicle.
RGB values and colour names taken from the decompiled scripts:
| Colour | R | G | B |
|---|---|---|---|
White | 222 | 222 | 255 |
Blue | 2 | 21 | 255 |
Electric Blue | 3 | 83 | 255 |
Mint Green | 0 | 255 | 140 |
Lime Green | 94 | 255 | 1 |
Yellow | 255 | 255 | 0 |
Golden Shower | 255 | 150 | 0 |
Orange | 255 | 62 | 0 |
Red | 255 | 1 | 1 |
Pony Pink | 255 | 50 | 100 |
Hot Pink | 255 | 5 | 190 |
Purple | 35 | 1 | 255 |
Blacklight | 15 | 3 | 255 |
Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
r | int | — |
g | int | — |
b | int | — |
Quick Snippet: Get Vehiclevehicle
vehicleUse this to get the current vehicle handle for this native.
-- Get the vehicle the player is currently in
local ped = PlayerPedId()
local vehicle = GetVehiclePedIsIn(ped, false)
if vehicle ~= 0 then
print("Vehicle handle: " .. vehicle)
print("Model: " .. GetEntityModel(vehicle))
else
print("Player is not in a vehicle")
endVehicle Models

adder
alpha
blade
ardent
asea
cogcabrio
baller
blistaReturns
voidThis native does not return a value.