lordgeorge Posted February 22, 2014 Report Share Posted February 22, 2014 Hey guys Another issue im trying to work around is making custom spawn locations for donors on our server. I have tried many varians so.. i have done the follwoing so far.. Inserted into server_playerSetup.sqf dayzPlayerLogin2 = [_worldspace,_state,_randomSpot]; Created newspawn.sqf and inserted this. if (!isDedicated) then { sleep 1; //Player UID's if ((getPlayerUID player) in ["1234567"]) exitWith { //## Custom Spawn Location 1 - Format: [X,Y,Z] (Z = Height AtTerrainLevel) player setPosATL [5151.8,4858.17,0]; }; Then in the init.sqf //##UID Based Custom Spawn Locations## p2_newspawn = compile preprocessFileLineNumbers "spawnuid\newspawn.sqf"; waitUntil {!isNil ("dayzLoginRecord")}; if (dayzPlayerLogin2 select 2) then { player spawn p2_newspawn; }; I have tried changing the dayzloginrecord stind and also the "PVDZE_plr_Login2 = nil;" to no avail. This scrip does absolutedly nothing, we also use infistar AH, and modified the _Maxdist = 500000; Could anyone shed some light on this? :) Cheers George Link to comment Share on other sites More sharing options...
0 General FinnBat Posted March 13, 2014 Report Share Posted March 13, 2014 I see you have strugled with this. I did the same style and not getting it working. Any help would be fine ! Link to comment Share on other sites More sharing options...
Question
lordgeorge
Hey guys
Another issue im trying to work around is making custom spawn locations for donors on our server.
I have tried many varians so.. i have done the follwoing so far..
Inserted into server_playerSetup.sqf
Created newspawn.sqf and inserted this.
Then in the init.sqf
I have tried changing the dayzloginrecord stind and also the "PVDZE_plr_Login2 = nil;" to no avail.
This scrip does absolutedly nothing, we also use infistar AH, and modified the _Maxdist = 500000;
Could anyone shed some light on this? :)
Cheers
George
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now