Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- [typeOf _x, 0, ["ACE_MainActions", "testmenu"]] call ace_interact_menu_fnc_removeActionFromClass;
- } forEach Vehicles;
- _action = ["testmenu", "Test", "", {true}, {true}] call ace_interact_menu_fnc_createAction;
- ["AllVehicles", 0, ["ACE_MainActions"], _action, true] call ace_interact_menu_fnc_addActionToClass;
- _actions = [
- ["test1", "Test 1", "",
- {
- true;
- },
- {
- true;
- }
- ],
- ["test2", "Test 2", "",
- {
- true;
- }, {
- true;
- }
- ],
- ["test3", "Test 3", "",
- {
- true;
- }, {
- true;
- }
- ]
- ];
- {
- ["AllVehicles", 0, ["ACE_MainActions","testmenu",(_x select 0)]] call ace_interact_menu_fnc_removeActionFromClass;
- _action = [(_x select 0), (_x select 1), (_x select 2), (_x select 3), (_x select 4)] call ace_interact_menu_fnc_createAction;
- ["AllVehicles", 0, ["ACE_MainActions","testmenu"], _action, true] call ace_interact_menu_fnc_addActionToClass;
- } forEach _actions;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement