ACE3/addons/vehicle_damage/initSettings.sqf
PabstMirror 26d8b8d10a
Vehicle Damage - Cleanup strings (#8515)
* vd cleanup strings

* Update addons/vehicle_damage/initSettings.sqf

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
2021-10-14 12:05:16 -05:00

30 lines
1.1 KiB
Plaintext

[
QGVAR(enabled), "CHECKBOX",
[ELSTRING(common,Enabled), LSTRING(setting_description)],
LSTRING(category_displayName),
true, // default value
true, // isGlobal
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_settings_fnc_init;
[
QGVAR(removeAmmoDuringCookoff), "CHECKBOX",
[LSTRING(removeAmmoAfterCookoff_setting_enable), LSTRING(removeAmmoAfterCookoff_setting_description)],
LSTRING(category_displayName),
true, // default value
true, // isGlobal
{[QGVAR(removeAmmoDuringCookoff), _this] call EFUNC(common,cbaSettings_settingChanged)},
false // Needs mission restart
] call CBA_settings_fnc_init;
[
QGVAR(enableCarDamage), "CHECKBOX",
[LSTRING(carDamage_setting_enable), LSTRING(carDamage_setting_description)],
LSTRING(category_displayName),
false, // default value
true, // isGlobal
{[QGVAR(enableCarDamage), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_settings_fnc_init;