Jump to content
  • 0

UID Based spawn locaion help Epoch 1.0.4.2


lordgeorge

Question

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

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
  • Advertisement
  • Discord

×
×
  • Create New...