# CFX::IS_PLAYER_IN_FREE_CAM_MODE

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

## Signature

```c
bool IS_PLAYER_IN_FREE_CAM_MODE(char* playerSrc);
```

## Parameters

- `playerSrc` (`char*`) — The player to get the free camera mode status of

## Returns

`bool` — Returns if the player is in free camera mode.

## Usage

### Lua

```lua
local retval = IsPlayerInFreeCamMode(playerSrc)

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

### JavaScript

```js
const retval = IsPlayerInFreeCamMode(playerSrc);

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

### C#

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

*Sources: Cfx.re native reference.*
