Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
/*_myPos = player getVariable["lastPos",[]];
if (count _myPos > 0) then {
player setVariable["lastPos",_mylastPos, true];
player setVariable["lastPos",[]];
};
_lastPos = getPosATL player;
if (!isNil "_mylastPos") then {
if (player == vehicle player) then {
if (_mylastPos distance _lastPos > 200) then {
if (alive player) then {
player setPosATL _mylastPos;
};
};
} else {
if (_mylastPos distance _lastPos > 800) then {
if (alive player) then {
player setPosATL _mylastPos;
};
};
};
};*/
look for player_spawn_2 in the dayz_code/system folder. Then copy and paste it into ur mission file and edit your init.sqf line that calls it so that it will call ur edited version. Now, lets edit ur version.
Open the player_spawn_2 and comment out this part at the bottom...
Code:/*_myPos = player getVariable["lastPos",[]]; if (count _myPos > 0) then { player setVariable["lastPos",_mylastPos, true]; player setVariable["lastPos",[]]; }; _lastPos = getPosATL player; if (!isNil "_mylastPos") then { if (player == vehicle player) then { if (_mylastPos distance _lastPos > 200) then { if (alive player) then { player setPosATL _mylastPos; }; }; } else { if (_mylastPos distance _lastPos > 800) then { if (alive player) then { player setPosATL _mylastPos; }; }; }; };*/
You can see where i used /* and */ to comment out a large section. Not sure if you knew about that. Let me know if you need anymore help with it.