# isVehicleNeonEnabled (Shared)

> Tells whether a vehicle's neon strips are on.

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

## Syntax

```lua
bool|table isVehicleNeonEnabled(vehicle vehicle [, int|string|table strips = "all"])
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `vehicle` | `vehicle` | The vehicle. |
| `strips` | `int\|string\|table` | One strip by name or number (from 0), `"all"` or `-1` for every strip, or a table of several. *(default: `"all"`)* |

## Returns

For a single strip, `true` or `false`. For every strip or a table, a table of each strip's name and whether it is on. `false` if a strip does not exist or the vehicle has no strips.

## Example

```lua
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
    for strip, on in pairs(isVehicleNeonEnabled(vehicle) or {}) do
        outputDebugString(strip .. ": " .. tostring(on))
    end
end
```

## See also

- [setVehicleNeonEnabled (Shared)](https://wiki.mymp.gg/en/setVehicleNeonEnabled.md): Turns neon strips under a vehicle on or off.
- [getVehicleNeonStrips (Shared)](https://wiki.mymp.gg/en/getVehicleNeonStrips.md): Lists the neon strips a vehicle's model has.
