# CFX::GET_CLIENT_CONFIG_BOOL

- **Hash:** `0xADA7DB9D`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetClientConfigBool`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_CLIENT_CONFIG_BOOL

## Signature

```c
BOOL GET_CLIENT_CONFIG_BOOL(int flagIndex);
```

## Parameters

- `flagIndex` (`int`) — The index of the configuration flag to get.

## Returns

`BOOL`

## Description

*Source: Cfx.re native reference*

Returns whether a specific client configuration flag is currently enabled.
You can find a list of configuration flags in [`SET_CLIENT_CONFIG_BOOL`](#\_0xD174EF7E).

## Usage

### Lua

```lua
local retval = GetClientConfigBool(flagIndex)

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

### JavaScript

```js
const retval = GetClientConfigBool(flagIndex);

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

### C#

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

## See also

- [CFX::SET_CLIENT_CONFIG_BOOL](https://natives.borderlinerp.com/natives/CFX/SET_CLIENT_CONFIG_BOOL.md) — Sets the value of a client configuration flag.

*Sources: Cfx.re native reference.*
