mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Update
This commit is contained in:
@@ -36,8 +36,13 @@ _isMine = _objType in ["Land_iron_vein_wreck","Land_silver_vein_wreck","Land_gol
|
|||||||
_isModular = _obj isKindOf "ModularItems";
|
_isModular = _obj isKindOf "ModularItems";
|
||||||
|
|
||||||
_limit = 3;
|
_limit = 3;
|
||||||
if(isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) then {
|
if (DZE_StaticConstructionCount > 0) then {
|
||||||
_limit = getNumber(configFile >> "CfgVehicles" >> _objType >> "constructioncount");
|
_limit = DZE_StaticConstructionCount;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) then {
|
||||||
|
_limit = getNumber(configFile >> "_objType" >> _classname >> "constructioncount");
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
_findNearestPoles = nearestObjects[player, ["Plastic_Pole_EP1_DZ"], 30];
|
_findNearestPoles = nearestObjects[player, ["Plastic_Pole_EP1_DZ"], 30];
|
||||||
|
|||||||
Reference in New Issue
Block a user