alt.doesConfigFlagExist
There is no concise information about how to use this function. It's likely used for checking if a parameter is set in the local configuration for the client.
Returns a boolean
if the configuration is set on the client.
Valid Flags:
DISABLE_AUTO_WEAPON_SWAP
DISABLE_PED_PROP_KNOCK_OFF
Declaration
alt.doesConfigFlagExist(flag: string): boolean
Usage
alt.doesConfigFlagExist(someTimeoutValue);
Real World Example
const flag = alt.doesConfigFlagExist('DISABLE_AUTO_WEAPON_SWAP');
alt.log(flag);
These examples assume you have imported alt
from alt-client
.