{"hash":"0xD174EF7E","ns":"CFX","name":"SET_CLIENT_CONFIG_BOOL","slug":"SET_CLIENT_CONFIG_BOOL","official":true,"named":true,"luaName":"SetClientConfigBool","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"flagIndex","type":"int","description":"The index of the configuration flag to set."},{"name":"enabled","type":"BOOL","description":"Whether to enable or disable the flag."}],"summary":"Sets the value of a client configuration flag.","descriptions":[{"source":"cfx","format":"md","body":"```cpp\nenum ClientConfigFlag\n{\n    WeaponsNoAutoReload = 0,\n\tUIVisibleWhenDead = 1,\n\tDisableDeathAudioScene = 2,\n\tDisableRemoteAttachments = 3\n}\n```\n\nSets the value of a client configuration flag.\nThis native allows enabling or disabling specific one-time client-side features."}],"examples":[],"aliases":[],"enums":[],"related":["0xADA7DB9D"],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_CLIENT_CONFIG_BOOL","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_CLIENT_CONFIG_BOOL.md","snippets":{"lua":"SetClientConfigBool(flagIndex, enabled)","luaInvoke":"Citizen.InvokeNative(0xd174ef7e, flagIndex, enabled)","js":"SetClientConfigBool(flagIndex, enabled);","jsInvoke":"Citizen.invokeNative('0xd174ef7e', flagIndex, enabled);","csharp":"Function.Call((Hash)0xd174ef7e, flagIndex, enabled);","notes":[]}}