Re-add plot check

Accidentally removed this when merging plot for life
This commit is contained in:
icomrade
2016-05-18 10:13:29 -04:00
parent 9d51fb2736
commit 8fd4c8eb8b

View File

@@ -33,7 +33,9 @@ _nearestPole = _plotcheck select 2;
if(_isPole && {_IsNearPlot > 0}) exitWith {DZE_ActionInProgress = false; format[localize "str_epoch_player_44",_distance] call dayz_rollingMessages; [_canBuild, _isPole];}; if(_isPole && {_IsNearPlot > 0}) exitWith {DZE_ActionInProgress = false; format[localize "str_epoch_player_44",_distance] call dayz_rollingMessages; [_canBuild, _isPole];};
if(_IsNearPlot == 0) then { if(_IsNearPlot == 0) then {
_canBuild = true; if (_requireplot == 0 || {_isLandFireDZ}) then {
_canBuild = true;
};
} else { } else {
_ownerID = _nearestPole getVariable["CharacterID","0"]; _ownerID = _nearestPole getVariable["CharacterID","0"];
if(dayz_characterID == _ownerID) then { if(dayz_characterID == _ownerID) then {