Remove DZE_permanentPlot variable

There is no longer a need for the DZE_permanentPlot variable since all servers use plot management and plot for life.
This commit is contained in:
A Man
2021-09-20 10:30:32 +02:00
parent aad27e6ed7
commit 5aba5d7ddd
25 changed files with 102 additions and 222 deletions

View File

@@ -32,7 +32,7 @@ if ((vehicle player) == player) then {
};
if (DZE_BackpackAntiTheft) then {
_friendlyTo = player getvariable ["friendlyTo",[]];
_rID = if (DZE_permanentPlot) then { getPlayerUID _cTarget } else { _cTarget getVariable ["CharacterID","0"] };
_rID = getPlayerUID _cTarget;
if ((isInTraderCity || {DZE_PVE_Mode} || {!canbuild}) && {alive _cTarget} && {isPlayer _cTarget} && {!(_rID in _friendlyTo) && !(_cTarget in (units group player))} && {(player distance _cTarget) < 12}) then {
localize "STR_EPOCH_PLAYER_316" call dayz_rollingMessages;
_display closeDisplay 2;