alt.setConfigFlag

Used to set the current value of a configuration flag.

Valid Flags

DISABLE_AUTO_WEAPON_SWAP
DISABLE_PED_PROP_KNOCK_OFF

Declaration

alt.setConfigFlag(flag: string, state: boolean): void

Usage

alt.setConfigFlag('DISABLE_AUTO_WEAPON_SWAP', true);

Real World Example

alt.setConfigFlag('DISABLE_AUTO_WEAPON_SWAP');

These examples assume you have imported alt from alt-client.

results matching ""

    No results matching ""