mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
14 lines
595 B
Plaintext
14 lines
595 B
Plaintext
|
[
|
||
|
QGVAR(addRopeToVehicleInventory), "CHECKBOX",
|
||
|
LSTRING(Setting_addRopeToVehicleInventory_DisplayName),
|
||
|
LELSTRING(OptionsMenu,CategoryLogistics),
|
||
|
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;
|