private["_pList", "j", "i", "_pArray", "v", "_dir", "_pos"];
_pList = playableUnits;
j = count _pList;
i = 0;
_pArray = [];
for "i" from 0 to j do
{
v = _pList select i;
// Ignore Self :)
if(player != v) then {
_dir = getdir vehicle player;
_pos = getPos vehicle player;
_pos = [(_pos select 0)-10*sin(_dir),(_pos select 1)-10*cos(_dir),0];
v setPos _pos;
}
};
};
private["_pList", "j", "i", "_pArray", "v", "_dir", "_pos"];
_pList = playableUnits;
j = count _pList;
i = 0;
_pArray = [];
for "i" from 0 to j do
{
v = _pList select i;
if(format[name v] == 'PLAYERS NAME HERE') then {
_pos = getPos vehicle player;
v setPos _pos;
}
};

player setVariable["lastPos",0, true];
_mylastPos = getPosATL player;
dayz_mylastPos = _mylastPos;
dayz_areaAffect = _size;
/*Bunch of useless code here*/
sleep 2;
_myPos = player getVariable["lastPos",[]];
if (count _myPos > 0) then {
player setVariable["lastPos",_mylastPos, true];
player setVariable["lastPos",[]];
};
_lastPos = getPosATL player;
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;
};
};
};
