This commit is contained in:
icomrade
2016-02-18 00:24:50 -05:00
parent e2b47f2459
commit 254fbff602
3 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_40") ,
DZE_ActionInProgress = true;
// disallow building if too many objects are found within 30m
if((count ((getPosATL player) nearObjects ["All",30])) >= DZE_BuildingLimit) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_41"), "PLAIN DOWN"];};
if((count ((getPosATL player) nearObjects ["All",30])) >= DZE_BuildingLimit) exitWith {DZE_ActionInProgress = false; cutText [(format [localize "str_epoch_player_41", DZE_PlotPole select 0]), "PLAIN DOWN"];};
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_isWater = dayz_isSwimming;

View File

@@ -5,6 +5,6 @@ _pos = [player] call FNC_GetPos;
_cnt = count (_pos nearObjects ["All",DZE_checkNearbyRadius]);
if (_cnt >= DZE_BuildingLimit) exitWith { //end script if too many objects nearby
DZE_ActionInProgress = false;
cutText [(localize "str_epoch_player_41"), "PLAIN DOWN"];
cutText [(format [localize "str_epoch_player_41", DZE_PlotPole select 0]), "PLAIN DOWN"];
};
_cnt //returns amount of total objects found nearby

View File

@@ -3117,14 +3117,14 @@
<Czech>\n\nStavba již probíhá.</Czech>
</Key>
<Key ID="STR_EPOCH_PLAYER_41">
<Original>\n\nCannot build, too many objects within 30m.</Original>
<English>\n\nCannot build, too many objects within 30m.</English>
<German>\n\nBau nicht möglich, zu viele Objekte innerhalb von 30m.</German>
<Russian>\n\nНельзя построить, слишком много объектов в пределах 30 м.</Russian>
<Original>\n\nCannot build, too many objects within %1m.</Original>
<English>\n\nCannot build, too many objects within %1m.</English>
<German>\n\nBau nicht möglich, zu viele Objekte innerhalb von %1m.</German>
<Russian>\n\nНельзя построить, слишком много объектов в пределах %1m.</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>\n\nKan niet bouwen, teveel objecten binnen 30m.</Dutch>
<French>\n\nImpossible de construire, il y a trop d'objets à moins de 30m.</French>
<Czech>\n\nNelze postavit, v okruhu 30 metrů je přiliš mnoho předmětů.</Czech>
<Dutch>\n\nKan niet bouwen, teveel objecten binnen %1.</Dutch>
<French>\n\nImpossible de construire, il y a trop d'objets à moins de %1m.</French>
<Czech>\n\nNelze postavit, v okruhu %1m je přiliš mnoho předmětů.</Czech>
</Key>
<Key ID="STR_EPOCH_PLAYER_42">
<Original>Cannot build while in a vehicle.</Original>