ACE3/addons/fastroping/initSettings.sqf
jonpas 0cef0ba6e9
Fastroping - Add Auto add FRIES setting (#9319)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
2023-08-16 14:16:44 +02:00

20 lines
630 B
Plaintext

private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(setting_categoryMenu_displayName)];
[
QGVAR(requireRopeItems), "CHECKBOX",
[LSTRING(setting_requireRopeItems_displayName)],
_category,
false, // default value
true, // isGlobal
{[QGVAR(requireRopeItems), _this] call EFUNC(common,cbaSettings_settingChanged)},
false // needRestart
] call CBA_fnc_addSetting;
[
QGVAR(autoAddFRIES), "CHECKBOX",
[LSTRING(setting_autoAddFRIES_displayName), LSTRING(setting_autoAddFRIES_description)],
_category,
false, // default value
true // isGlobal
] call CBA_fnc_addSetting;