Remove two hardcoded Chernarus checks

Vanilla commit:

https://github.com/DayZMod/DayZ/commit/c8455bb718733aa89633c69fee0dd8a6a901d87e
This commit is contained in:
ebaydayz
2017-01-06 17:58:13 -05:00
parent 58025f591f
commit ad556aa0cb
2 changed files with 1 additions and 8 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ fa_coor2str = {
_nearestCity = nearestLocations [_pos, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000];
_town = "Wilderness";
if (count _nearestCity > 0) then {_town = text (_nearestCity select 0)};
_res = format["%1 [%2:%3]", _town, round((_pos select 0)/100), round((15360-(_pos select 1))/100)];
_res = format["%1 [%2]", _town, mapGridPosition _pos];
_res
};
@@ -27,13 +27,6 @@ sched_playershivewrite = {
_n = _n + 1;
};
};
if ([ -11000+500, 15360-21000+500, 0 ] distance _pos < 2000) then {
diag_log format [ "HACK, player %1 at anti-ESP zone, killing him but no HIVE save for him.", _x call fa_plr2str ];
_x setVariable ["CharacterID", nil, true ];
unassignVehicle _x;
_pos set [2, 2000]; // will be killed by gravity OR kick by anti TP
_x setPosATL _pos;
};
};
} forEach playableUnits;
if (_n > 0) then {