Hey all,
I know my way around scripts and am able to set up a server but lately I've been trying to write a little bit myself. I start with little things and tried to make a small commandingmenu, but it seems not to be running. Was just wondering if you guys see anything that I did wrong?
I execute this and it just doesn't show anything. I added all the menu's to exception of the AHconfig
/* Necessary??? */ if (isNil "Ruubs") then {Ruubs = true;}; // Shortcuts _pathtoevents = "addons\admin\events\"; _pathtodonat = "addons\admin\donations\"; _execute1 = 'player execVM "'_pathtoevents+'%1"'; _execute2 = 'player execVM "'_pathtodonat+'%1"'; // Main Menu Ruubs Ruubmenu = [ ["Ruubs",true], ["Events", [2], "#USER:EventMenu", -5, [["expression", ""]], "1", "1"], ["Donations", [3], "#USER:DonatMenu", -5, [["expression", ""]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; // Secundary Menu Event & Donate Eventmenu = [ ["Events",true], ["Catch Ural", [2], "#USER:UralMenu", -5, [["expression", ""]], "1", "1"], ["Reserved", [3], "#USER:Ruubmenu", -5, [["expression", ""]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; Donatmenu = [ ["Donation",true], ["Cinder Block Base", [2], "", -5, [["expression", '["ural"] format[_execute2,"donkit.sqf"]']], "1", "1"], ["Mini Cinder Block Base", [3], "", -5, [["expression", '["ural"] format[_execute2,"donkit.sqf"]']], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; // Tertiary Specifics UralMenu = [ ["Ural",true], ["Ural Weapons", [2], "", -5, [["expression", '["weapon"] format[_execute1,"EventUral.sqf"]']], "1", "1"], ["Ural Gold", [3], "", -5, [["expression", '["gold"] format[_execute1,"EventUral.sqf"]']], "1", "1"], ["Ural Build", [4], "", -5, [["expression", '["build"] format[_execute1,"EventUral.sqf"]']], "1", "1"], ["Ural Vehicle", [5], "", -5, [["expression", '["vehicle"] format[_execute1,"EventUral.sqf"]']], "1", "1"], ["Ural Shit", [6], "", -5, [["expression", '["shit"] format[_execute1,"EventUral.sqf"]']], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; showCommandingMenu "#USER:Ruubmenu";