mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
7197be2f49
* 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>
16 lines
436 B
Plaintext
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;
|