SET_CLIENT_CONFIG_BOOL
```cpp enum ClientConfigFlag { WeaponsNoAutoReload = 0, UIVisibleWhenDead = 1, DisableDeathAudioScene = 2, DisableRemoteAttachments = 3 } ``` Sets the value of a client configuration flag. This native allows enabling or disabling specific one-time client-side features.
CFX
Signature
lua
SetClientConfigBool(0, true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| int | The index of the configuration flag to set. | |
| BOOL | Whether to enable or disable the flag. |
Usage
lua
SetClientConfigBool(0, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
