mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
b54992b8fc
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
15 lines
534 B
Plaintext
15 lines
534 B
Plaintext
[
|
|
QGVAR(addRopeToVehicleInventory), "CHECKBOX",
|
|
LSTRING(Setting_addRopeToVehicleInventory_DisplayName),
|
|
ELSTRING(main,Category_Logistics),
|
|
true,
|
|
true,
|
|
{
|
|
if !(_this && {isServer} && {isNil QGVAR(addRopeToVehicleInventory_initialized)}) exitWith {};
|
|
GVAR(addRopeToVehicleInventory_initialized) = true;
|
|
{
|
|
[_x, "initPost", LINKFUNC(addRopeToVehicle), true, [], true] call CBA_fnc_addClassEventHandler;
|
|
} forEach ["Car", "Ship", "Tank"];
|
|
}
|
|
] call CBA_fnc_addSetting;
|