was missing nearestObjects
This commit is contained in:
vbawol
2013-04-23 22:51:57 -05:00
parent 6b6b35e10b
commit e3ffa8edf8
3 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ if(isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) th
_limit = getNumber(configFile >> "CfgVehicles" >> _objType >> "constructioncount");
};
_findNearestPole = [player, ["Plastic_Pole_EP1_DZ"], 30];
_findNearestPole = nearestObjects[player, ["Plastic_Pole_EP1_DZ"], 30];
_IsNearPlot = count (_findNearestPole);
if(_IsNearPlot >= 1) then {