ACE3/addons/noradio/initSettings.inc.sqf
BrettMayson 464ab0cefb
Tools - Add HEMTT SQF support and fix commas are not semicolons (#9663)
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-12-07 03:20:47 +00:00

16 lines
436 B
Plaintext

[
QGVAR(enabled), "CHECKBOX",
[LSTRING(setting), LSTRING(setting_tooltip)],
[LELSTRING(Common,CategoryUncategorized), LLSTRING(DisplayName)],
true,
true, {
params ["_enabled"];
if (_enabled) then {
[ACE_player, "isPlayer"] call EFUNC(common,muteUnit);
} else {
[ACE_player, "isPlayer"] call EFUNC(common,unmuteUnit);
};
}, true // Needs mission restart
] call CBA_fnc_addSetting;