HellGamer115 Posted March 9, 2014 Report Share Posted March 9, 2014 i used this http://opendayz.net/threads/release-scroll-menu-pick-your-own-spawn-point-and-loadout.13143/ but i want to have 2 different donator classes so one called Donator and the other called Super Donator. i tried using pathtoclasses = "newspawn\classes\"; EXECscript1 = 'player execVM "'+pathtoclasses+'%1"'; if ((getPlayerUID player) in ["168249926","104221510","0"]) then { classes = [ ["",false], ["Select Class", [2], "#USER:Donator1", -5, [["expression", ""]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; showCommandingMenu "#USER:classes";}; if ((getPlayerUID player) in ["236467526","0","0"]) then { classes = [ ["",false], ["Select Class", [2], "#USER:Donator2", -5, [["expression", ""]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; showCommandingMenu "#USER:classes";}; classes = [ ["",false], ["Select Class", [2], "#USER:Peasant", -5, [["expression", ""]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; showCommandingMenu "#USER:classes"; Donator = [ ["",false], ["British Soldier", [2], "", -5, [["expression", format[EXECscript1,"britishs.sqf"]]], "1", "1"], ["Business Man", [3], "", -5, [["expression", format[EXECscript1,"businessman.sqf"]]], "1", "1"], ["Civilian", [4], "", -5, [["expression", format[EXECscript1,"civilian.sqf"]]], "1", "1"], ["Civilian Lady", [5], "", -5, [["expression", format[EXECscript1,"civilianl.sqf"]]], "1", "1"], ["Czech Soldier", [6], "", -5, [["expression", format[EXECscript1,"czechs.sqf"]]], "1", "1"], ["Policeman", [7], "", -5, [["expression", format[EXECscript1,"policeman.sqf"]]], "1", "1"], ["Terrorist", [8], "", -5, [["expression", format[EXECscript1,"terrorist.sqf"]]], "1", "1"], ["US Soldier", [9], "", -5, [["expression", format[EXECscript1,"uss.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; //Menu for normal Donator Donator1 = [ ["",false], ["Donator", [2], "", -5, [["expression", format[EXECscript1,"donor1.sqf"]]], "1", "1"], ["British Soldier", [3], "", -5, [["expression", format[EXECscript1,"britishs.sqf"]]], "1", "1"], ["Business Man", [4], "", -5, [["expression", format[EXECscript1,"businessman.sqf"]]], "1", "1"], ["Civilian", [5], "", -5, [["expression", format[EXECscript1,"civilian.sqf"]]], "1", "1"], ["Czech Soldier", [6], "", -5, [["expression", format[EXECscript1,"czechs.sqf"]]], "1", "1"], ["Policeman", [7], "", -5, [["expression", format[EXECscript1,"policeman.sqf"]]], "1", "1"], ["Terrorist", [8], "", -5, [["expression", format[EXECscript1,"terrorist.sqf"]]], "1", "1"], ["US Soldier", [9], "", -5, [["expression", format[EXECscript1,"uss.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; //Menu for Super Donator Donator2 = [ ["",false], ["Donator", [2], "", -5, [["expression", format[EXECscript1,"donor1.sqf"]]], "1", "1"], ["Super Donator", [2], "", -5, [["expression", format[EXECscript1,"donor2.sqf"]]], "1", "1"], ["British Soldier", [4], "", -5, [["expression", format[EXECscript1,"britishs.sqf"]]], "1", "1"], ["Business Man", [5], "", -5, [["expression", format[EXECscript1,"businessman.sqf"]]], "1", "1"], ["Civilian", [6], "", -5, [["expression", format[EXECscript1,"civilian.sqf"]]], "1", "1"], ["Czech Soldier", [7], "", -5, [["expression", format[EXECscript1,"czechs.sqf"]]], "1", "1"], ["Policeman", [8], "", -5, [["expression", format[EXECscript1,"policeman.sqf"]]], "1", "1"], ["Terrorist", [9], "", -5, [["expression", format[EXECscript1,"terrorist.sqf"]]], "1", "1"], ["US Soldier", [10], "", -5, [["expression", format[EXECscript1,"uss.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; Peasant = [ ["",false], ["British Soldier", [2], "", -5, [["expression", format[EXECscript1,"britishs.sqf"]]], "1", "1"], ["Business Man", [3], "", -5, [["expression", format[EXECscript1,"businessman.sqf"]]], "1", "1"], ["Civilian", [4], "", -5, [["expression", format[EXECscript1,"civilian.sqf"]]], "1", "1"], ["Czech Soldier", [5], "", -5, [["expression", format[EXECscript1,"czechs.sqf"]]], "1", "1"], ["Policeman", [6], "", -5, [["expression", format[EXECscript1,"policeman.sqf"]]], "1", "1"], ["Terrorist", [7], "", -5, [["expression", format[EXECscript1,"terrorist.sqf"]]], "1", "1"], ["US Soldier", [8], "", -5, [["expression", format[EXECscript1,"uss.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; and this pathtoclasses = "newspawn\classes\"; EXECscript1 = 'player execVM "'+pathtoclasses+'%1"'; if ((getPlayerUID player) in ["168249926","104221510","0"]) then { classes = [ ["",false], ["Select Class", [2], "#USER:Donator1", -5, [["expression", ""]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ];}; else if ((getPlayerUID player) in ["236467526","0","0"]) then { classes = [ ["",false], ["Select Class", [2], "#USER:Donator2", -5, [["expression", ""]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ];} else { classes = [ ["",false], ["Select Class", [2], "#USER:Peasant", -5, [["expression", ""]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ];}; Donator = [ ["",false], ["British Soldier", [2], "", -5, [["expression", format[EXECscript1,"britishs.sqf"]]], "1", "1"], ["Business Man", [3], "", -5, [["expression", format[EXECscript1,"businessman.sqf"]]], "1", "1"], ["Civilian", [4], "", -5, [["expression", format[EXECscript1,"civilian.sqf"]]], "1", "1"], ["Civilian Lady", [5], "", -5, [["expression", format[EXECscript1,"civilianl.sqf"]]], "1", "1"], ["Czech Soldier", [6], "", -5, [["expression", format[EXECscript1,"czechs.sqf"]]], "1", "1"], ["Policeman", [7], "", -5, [["expression", format[EXECscript1,"policeman.sqf"]]], "1", "1"], ["Terrorist", [8], "", -5, [["expression", format[EXECscript1,"terrorist.sqf"]]], "1", "1"], ["US Soldier", [9], "", -5, [["expression", format[EXECscript1,"uss.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; //Menu for normal Donator Donator1 = [ ["",false], ["Donator", [2], "", -5, [["expression", format[EXECscript1,"donor1.sqf"]]], "1", "1"], ["British Soldier", [3], "", -5, [["expression", format[EXECscript1,"britishs.sqf"]]], "1", "1"], ["Business Man", [4], "", -5, [["expression", format[EXECscript1,"businessman.sqf"]]], "1", "1"], ["Civilian", [5], "", -5, [["expression", format[EXECscript1,"civilian.sqf"]]], "1", "1"], ["Czech Soldier", [6], "", -5, [["expression", format[EXECscript1,"czechs.sqf"]]], "1", "1"], ["Policeman", [7], "", -5, [["expression", format[EXECscript1,"policeman.sqf"]]], "1", "1"], ["Terrorist", [8], "", -5, [["expression", format[EXECscript1,"terrorist.sqf"]]], "1", "1"], ["US Soldier", [9], "", -5, [["expression", format[EXECscript1,"uss.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; //Menu for Super Donator Donator2 = [ ["",false], ["Donator", [2], "", -5, [["expression", format[EXECscript1,"donor1.sqf"]]], "1", "1"], ["Super Donator", [2], "", -5, [["expression", format[EXECscript1,"donor2.sqf"]]], "1", "1"], ["British Soldier", [4], "", -5, [["expression", format[EXECscript1,"britishs.sqf"]]], "1", "1"], ["Business Man", [5], "", -5, [["expression", format[EXECscript1,"businessman.sqf"]]], "1", "1"], ["Civilian", [6], "", -5, [["expression", format[EXECscript1,"civilian.sqf"]]], "1", "1"], ["Czech Soldier", [7], "", -5, [["expression", format[EXECscript1,"czechs.sqf"]]], "1", "1"], ["Policeman", [8], "", -5, [["expression", format[EXECscript1,"policeman.sqf"]]], "1", "1"], ["Terrorist", [9], "", -5, [["expression", format[EXECscript1,"terrorist.sqf"]]], "1", "1"], ["US Soldier", [10], "", -5, [["expression", format[EXECscript1,"uss.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; Peasant = [ ["",false], ["British Soldier", [2], "", -5, [["expression", format[EXECscript1,"britishs.sqf"]]], "1", "1"], ["Business Man", [3], "", -5, [["expression", format[EXECscript1,"businessman.sqf"]]], "1", "1"], ["Civilian", [4], "", -5, [["expression", format[EXECscript1,"civilian.sqf"]]], "1", "1"], ["Czech Soldier", [5], "", -5, [["expression", format[EXECscript1,"czechs.sqf"]]], "1", "1"], ["Policeman", [6], "", -5, [["expression", format[EXECscript1,"policeman.sqf"]]], "1", "1"], ["Terrorist", [7], "", -5, [["expression", format[EXECscript1,"terrorist.sqf"]]], "1", "1"], ["US Soldier", [8], "", -5, [["expression", format[EXECscript1,"uss.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; showCommandingMenu "#USER:classes"; but it doesnt work, please help Link to comment Share on other sites More sharing options...
LoadingSA Posted March 9, 2014 Report Share Posted March 9, 2014 The answer is already in the scripts you posted if ((getPlayerUID player) in ["168249926","104221510","0"]) then { class block }; Link to comment Share on other sites More sharing options...
HellGamer115 Posted March 9, 2014 Author Report Share Posted March 9, 2014 The answer is already in the scripts you posted if ((getPlayerUID player) in ["168249926","104221510","0"]) then { class block }; i know how to do that, but i want 2 donator menus this will just give you 1 what i want is some donators to have donator menu 1 and the other donators to have donator menu 2 and all the normal players to have peasant meny Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now