mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix #1274
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user