# getVehicleNeonPower (Shared)

> Tells the brightness of a vehicle's neon.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Shared
- **Category**: Vehicle looks
- **URL**: https://wiki.mymp.gg/en/getVehicleNeonPower

## Syntax

```lua
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

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

## See also

- [setVehicleNeonPower (Shared)](https://wiki.mymp.gg/en/setVehicleNeonPower.md): Changes the brightness of a vehicle's neon.
