2022-08-29 00:24:24 +00:00
|
|
|
[
|
|
|
|
QGVAR(addRopeToVehicleInventory), "CHECKBOX",
|
|
|
|
LSTRING(Setting_addRopeToVehicleInventory_DisplayName),
|
2023-12-11 17:05:22 +00:00
|
|
|
ELSTRING(main,Category_Logistics),
|
2022-08-29 00:24:24 +00:00
|
|
|
true,
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
if !(_this && {isServer} && {isNil QGVAR(addRopeToVehicleInventory_initialized)}) exitWith {};
|
|
|
|
GVAR(addRopeToVehicleInventory_initialized) = true;
|
|
|
|
["Tank", "initPost", LINKFUNC(addRopeToVehicle), true, [], true] call CBA_fnc_addClassEventHandler;
|
|
|
|
["Car", "initPost", LINKFUNC(addRopeToVehicle), true, [], true] call CBA_fnc_addClassEventHandler;
|
|
|
|
}
|
|
|
|
] call CBA_fnc_addSetting;
|