ACE3/addons/towing/initSettings.inc.sqf

14 lines
588 B
Plaintext
Raw Normal View History

[
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;
["Tank", "initPost", LINKFUNC(addRopeToVehicle), true, [], true] call CBA_fnc_addClassEventHandler;
["Car", "initPost", LINKFUNC(addRopeToVehicle), true, [], true] call CBA_fnc_addClassEventHandler;
}
] call CBA_fnc_addSetting;