ACE3/addons/noradio/initSettings.sqf
RcINS 7197be2f49
Localization - Improve Simplified Chinese (#8781)
* Improve Chinese translation

* Optional Compat SOG and Tracers Simplified Chinese

* Fix settings string not correctly localized

* Fix mode of heli minigun have no realistic name

* Fix Regex replace flaw

* fix merge

* Various improvements

* Translate CSW, fix short name not short

* Trim

* Magazines naming

* Minor tweak

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2022-02-14 15:57:50 -06: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;