ACE3/addons/magazinerepack/XEH_postInit.sqf

24 lines
537 B
Plaintext
Raw Permalink Normal View History

#include "script_component.hpp"
// Inventory context menu action to repack magazines
[
"#Magazine",
["CONTAINER", "MAGAZINE"],
LSTRING(RepackMagazines),
[],
QPATHTOEF(common,UI\repack_ca.paa),
[
{true},
{
params ["_unit", "", "_magazine"];
[_unit, _magazine] call FUNC(canRepackMagazine)
}
],
{
params ["_unit", "", "_magazine"];
[_unit, _unit, _magazine] call FUNC(startRepackingMagazine);
}
] call CBA_fnc_addItemContextMenuOption;