getVehicleNeonPower
Shared
Tells the brightness of a vehicle's neon.
float|false getVehicleNeonPower(vehicle vehicle)
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | vehicle | The 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