# CFX::IS_FLASH_LIGHT_ON

- **Hash:** `0x76876154`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `IsFlashLightOn`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/IS_FLASH_LIGHT_ON

## Signature

```c
bool IS_FLASH_LIGHT_ON(Ped ped);
```

## Parameters

- `ped` (`Ped`) — The target ped.

## Returns

`bool` — Whether or not the ped's flash light is on.

## Usage

### Lua

```lua
local retval = IsFlashLightOn(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0x76876154, ped, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsFlashLightOn(ped);

// by hash
const retval = Citizen.invokeNative('0x76876154', ped, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x76876154, ped);
```

*Sources: Cfx.re native reference.*
