HellGamer115 Posted March 3, 2014 Report Share Posted March 3, 2014 hey, i used this script on my server http://opendayz.net/threads/release-scroll-menu-pick-your-own-spawn-point-and-loadout.13143/ and what i want to do is give a different loadout for my donators so its like US soldier but with the name donator but its only available to the people i choose and i want a different spawn for each person so i can put their base in the select spawn. but i want to do it for each person so they can spawn at their base but not anyone else. i check the FAQ but i dont understand what he says in here http://opendayz.net/threads/release-scroll-menu-pick-your-own-spawn-point-and-loadout.13149/page-7#post-89520 please can someone help Link to comment Share on other sites More sharing options...
Friendly Posted March 3, 2014 Report Share Posted March 3, 2014 if (dayz_combat == 1) then { titleText ["You can't select a spawn point while in combat.", "PLAIN DOWN", 3]; sleep 5; titleFadeOut 1; } else { titleText ["Spawning at selected location...", "PLAIN DOWN", 3]; //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0","0"]) exitWith { player setPosATL [6887.53,11411.7,0.001]; }; //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0"]) exitWith { player setPosATL [2952.6,6410.46,0.001]; }; sleep 2; titleText ["Spawned!", "PLAIN DOWN", 3]; sleep 2; titleFadeOut 1; }; Name it Donor.sqf and replace it with the one in there! To change this around just change the cordinates and where the "0" just add the players ID to the cordinats you want them to go to! Add a new one of these for each location/person that wants to spawn that that location! //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0"]) exitWith { player setPosATL [2952.6,6410.46,0.001]; }; Link to comment Share on other sites More sharing options...
HellGamer115 Posted March 3, 2014 Author Report Share Posted March 3, 2014 if (dayz_combat == 1) then { titleText ["You can't select a spawn point while in combat.", "PLAIN DOWN", 3]; sleep 5; titleFadeOut 1; } else { titleText ["Spawning at selected location...", "PLAIN DOWN", 3]; //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0","0"]) exitWith { player setPosATL [6887.53,11411.7,0.001]; }; //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0"]) exitWith { player setPosATL [2952.6,6410.46,0.001]; }; sleep 2; titleText ["Spawned!", "PLAIN DOWN", 3]; sleep 2; titleFadeOut 1; }; Name it Donor.sqf and replace it with the one in there! To change this around just change the cordinates and where the "0" just add the players ID to the cordinats you want them to go to! Add a new one of these for each location/person that wants to spawn that that location! //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0"]) exitWith { player setPosATL [2952.6,6410.46,0.001]; }; ok so if my player UID is 12345 do i do it like this ["12345"] or ["1","2","3","4","5"] also dont i have to edit my classes_main.sqf and i want to have a donators class which every donator has access to. just like the us soldier class but only a single one that only donators can see or the UID's i choose. thank you for the reply btw Link to comment Share on other sites More sharing options...
HellGamer115 Posted March 3, 2014 Author Report Share Posted March 3, 2014 if (dayz_combat == 1) then { titleText ["You can't select a spawn point while in combat.", "PLAIN DOWN", 3]; sleep 5; titleFadeOut 1; } else { titleText ["Spawning at selected location...", "PLAIN DOWN", 3]; //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0","0"]) exitWith { player setPosATL [6887.53,11411.7,0.001]; }; //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0"]) exitWith { player setPosATL [2952.6,6410.46,0.001]; }; sleep 2; titleText ["Spawned!", "PLAIN DOWN", 3]; sleep 2; titleFadeOut 1; }; Name it Donor.sqf and replace it with the one in there! To change this around just change the cordinates and where the "0" just add the players ID to the cordinats you want them to go to! Add a new one of these for each location/person that wants to spawn that that location! //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0"]) exitWith { player setPosATL [2952.6,6410.46,0.001]; }; also do i need to edit newspawn_main.sqf?? will i be doing this in the newspawn_main.sqf pathtonewspawn = "newspawn\locations\"; EXECscript1 = 'player execVM "'+pathtonewspawn+'%1"'; if ((getPlayerUID player) in ["1st donators UID","2nd donators UID","3rd donators UID"]) then { then inside the donors.sqf if (dayz_combat == 1) then { titleText ["You can't select a spawn point while in combat.", "PLAIN DOWN", 3]; sleep 5; titleFadeOut 1; } else { titleText ["Spawning at selected location...", "PLAIN DOWN", 3]; //Base Spawn if ((getPlayerUID player) in ["1st donor UID","his team mate UID","0","0","0","0"]) exitWith { player setPosATL [base coords]; }; //Base Spawn if ((getPlayerUID player) in ["2nd donor UID","his team mate UID","0","0","0"]) exitWith { player setPosATL [base coords]; }; sleep 2; titleText ["Spawned!", "PLAIN DOWN", 3]; sleep 2; titleFadeOut 1; }; thats what i got from http://opendayz.net/threads/release-scroll-menu-pick-your-own-spawn-point-and-loadout.13149/page-7#post-89520 but i still dont understand the donator classes Link to comment Share on other sites More sharing options...
Skaronator Posted March 3, 2014 Report Share Posted March 3, 2014 ok so if my player UID is 12345 do i do it like this ["12345"] or ["1","2","3","4","5"] ["12345"] if you want more player UIDs: ["123456","654321","1241521"] etc. if (dayz_combat == 1) then { titleText ["You can't select a spawn point while in combat.", "PLAIN DOWN", 3]; sleep 5; titleFadeOut 1; } else { titleText ["Spawning at selected location...", "PLAIN DOWN", 3]; //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0","0"]) exitWith { player setPosATL [6887.53,11411.7,0.001]; }; //Base Spawn if ((getPlayerUID player) in ["0","0","0","0","0"]) exitWith { player setPosATL [2952.6,6410.46,0.001]; }; sleep 2; titleText ["Spawned!", "PLAIN DOWN", 3]; sleep 2; titleFadeOut 1; }; And you should use then instead of exitWith. Link to comment Share on other sites More sharing options...
HellGamer115 Posted March 3, 2014 Author Report Share Posted March 3, 2014 ["12345"] if you want more player UIDs: ["123456","654321","1241521"] etc. And you should use then instead of exitWith. Link to comment Share on other sites More sharing options...
HellGamer115 Posted March 3, 2014 Author Report Share Posted March 3, 2014 ["12345"] if you want more player UIDs: ["123456","654321","1241521"] etc. And you should use then instead of exitWith. Link to comment Share on other sites More sharing options...
HellGamer115 Posted March 7, 2014 Author Report Share Posted March 7, 2014 please someone help, i want to know how to get multiply donator classes Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now