Jump to content
  • 0

Custom scroll wheel spawn selection (Need help)


FragZ

Question

I have a custom spawn selection system I found on opendayz. Problem is, it had a loadout selection (which I removed), but there is too many fu*king spawns to choose and some are too OP.

I would like them to be only coast spawns... I tried commenting them out and changing the number in the brackets, it didint work it made it stop working.


Any help is appreciated!

Code:
 

pathtonewspawn = "newspawn\locations\";
EXECscript1 = 'player execVM "'+pathtonewspawn+'%1"';

if ((getPlayerUID player) in ["UIDsUIDsUIDs"]) then {
	newspawn =
	[
		 ["",false],
		["Select Spawn Point", [2], "#USER:Donator", -5, [["expression", ""]], "1", "1"],
		["Spawn at Castle (Base)", [3], "", -5, [["expression", format[EXECscript1,"donor.sqf"]]], "1", "1"],
		["", [-1], "", -5, [["expression", ""]], "1", "0"],
		["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
	];
} else {
	newspawn =
	[
		["",false],
		["Select Spawn Point", [2], "#USER:Peasant", -5, [["expression", ""]], "1", "1"],
		["", [-1], "", -5, [["expression", ""]], "1", "0"],
		["Exit", [13], "", -3, [["expression", ""]], "1", "1"]	
	];
};

Donator =
[
	["",false],
	["Donor Base", [2], "", -5, [["expression", format[EXECscript1,"donor.sqf"]]], "1", "1"],
	["Balota", [3], "", -5, [["expression", format[EXECscript1,"balota.sqf"]]], "1", "1"],
	["Berezino", [4], "", -5, [["expression", format[EXECscript1,"berezino.sqf"]]], "1", "1"],
	["Cherno", [5], "", -5, [["expression", format[EXECscript1,"cherno.sqf"]]], "1", "1"],
	["Elektro", [6], "", -5, [["expression", format[EXECscript1,"elektro.sqf"]]], "1", "1"],
	["Kamenka", [7], "", -5, [["expression", format[EXECscript1,"kamenka.sqf"]]], "1", "1"],
	["Gorka", [8], "", -5, [["expression", format[EXECscript1,"gorka.sqf"]]], "1", "1"],
	["Grishino", [9], "", -5, [["expression", format[EXECscript1,"grishino.sqf"]]], "1", "1"],
	["Kabanino", [10], "", -5, [["expression", format[EXECscript1,"kabanino.sqf"]]], "1", "1"],
	["", [-1], "", -5, [["expression", ""]], "1", "0"],
	["Next page", [12], "#USER:Page4", -5, [["expression", ""]], "1", "1"],
	["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

Peasant =
[
	["",false],
	["Balota", [2], "", -5, [["expression", format[EXECscript1,"balota.sqf"]]], "1", "1"],
	["Berezino", [3], "", -5, [["expression", format[EXECscript1,"berezino.sqf"]]], "1", "1"],
	["Cherno", [4], "", -5, [["expression", format[EXECscript1,"cherno.sqf"]]], "1", "1"],
	["Elektro", [5], "", -5, [["expression", format[EXECscript1,"elektro.sqf"]]], "1", "1"],
	["Kamenka", [6], "", -5, [["expression", format[EXECscript1,"kamenka.sqf"]]], "1", "1"],
	["Gorka", [7], "", -5, [["expression", format[EXECscript1,"gorka.sqf"]]], "1", "1"],
	["Grishino", [8], "", -5, [["expression", format[EXECscript1,"grishino.sqf"]]], "1", "1"],
	["Kabanino", [9], "", -5, [["expression", format[EXECscript1,"kabanino.sqf"]]], "1", "1"],
	["", [-1], "", -5, [["expression", ""]], "1", "0"],
	["Next page", [12], "#USER:Page4", -5, [["expression", ""]], "1", "1"],
	["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

Page4 =
[
	["",false],
	["Kamyshovo", [2], "", -5, [["expression", format[EXECscript1,"kamyshovo.sqf"]]], "1", "1"],
	["Komarovo", [3], "", -5, [["expression", format[EXECscript1,"komarovo.sqf"]]], "1", "1"],
	["Krasnostav", [4], "", -5, [["expression", format[EXECscript1,"krasnostav.sqf"]]], "1", "1"],
	["Pogorevka", [5], "", -5, [["expression", format[EXECscript1,"pogorevka.sqf"]]], "1", "1"],
	["Prigor", [6], "", -5, [["expression", format[EXECscript1,"prigor.sqf"]]], "1", "1"],
	["Pusta", [7], "", -5, [["expression", format[EXECscript1,"pusta.sqf"]]], "1", "1"],
	["Solnichniy", [8], "", -5, [["expression", format[EXECscript1,"solnichniy.sqf"]]], "1", "1"],
	["Vybor", [9], "", -5, [["expression", format[EXECscript1,"vybor.sqf"]]], "1", "1"],
	["", [-1], "", -5, [["expression", ""]], "1", "0"],
	["Previous Page", [12], "", -4, [["expression", ""]], "1", "1"],
	["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

showCommandingMenu "#USER:newspawn";
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I had the same problem I customized mine so when you scroll select you can only choose shore locations and you can't choose the load out and I add donator spawn selections when I get home from school I'll get it for you.

If you want to see it before I find it join 119.81.31.18:3170

Link to comment
Share on other sites

  • 0

I had the same problem I customized mine so when you scroll select you can only choose shore locations and you can't choose the load out and I add donator spawn selections when I get home from school I'll get it for you.

If you want to see it before I find it join 119.81.31.18:3170

Would be nice thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...