M MY Multiplayer: Wiki
Side
Kind

getVehicleNeonPower

Shared

Tells the brightness of a vehicle's neon.

float|false getVehicleNeonPower(vehicle vehicle)

Parameters

NameTypeDescription
vehiclevehicleThe vehicle.

Returns

The brightness relative to the default (1 is normal), or false if it is not a vehicle.

Example

local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
    outputDebugString("neon power: " .. getVehicleNeonPower(vehicle))
end

See also