SetClientConfigBool — RedM Natives
0xD174EF7E · CFX · client
``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.
Parameters
| Name | Type | Description |
|---|---|---|
| flagIndex | int | The index of the configuration flag to set. |
| enabled | BOOL | Whether to enable or disable the flag. |
Returns
void