1.0.2.13 developer build

This commit is contained in:
[VB]AWOL
2013-09-10 16:23:01 -05:00
parent a0d5574dfe
commit 7b15ee415d
18 changed files with 1969 additions and 1889 deletions

View File

@@ -7,6 +7,9 @@ private ["_location","_dir","_classname","_item","_hasrequireditem","_missing","
if(TradeInprogress) exitWith { cutText ["Building already in progress." , "PLAIN DOWN"]; };
TradeInprogress = true;
// disallow building if too many objects are found within 30m
if((count ((position player) nearObjects ["All",30])) >= DZE_BuildingLimit) exitWith {TradeInprogress = false; cutText ["Cannot build, too many objects witin 30m.", "PLAIN DOWN"];};
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming;
_cancel = false;