small change

This commit is contained in:
Zac Surplice
2013-11-27 15:42:38 +11:00
parent a46cec0036
commit 6a58370670
50 changed files with 201 additions and 201 deletions

View File

@@ -1,19 +1,19 @@
private ["_dir","_classname","_box","_location","_item","_config","_create_raw","_create","_qty","_type","_hasCrate","_hasTool"];
if(TradeInprogress) exitWith { cutText [(localize "str_epoch_player_75") , "PLAIN DOWN"]; };
TradeInprogress = true;
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_75") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
_hasTool = "ItemCrowbar" in items player;
if(!_hasTool) exitWith {
cutText [(localize "str_epoch_player_76"), "PLAIN DOWN"];
TradeInprogress = false;
DZE_ActionInProgress = false;
};
_item = _this;
_hasCrate = _item in magazines player;
if (!_hasCrate) exitWith {
cutText [(localize "str_epoch_player_77"), "PLAIN DOWN"];
TradeInprogress = false;
DZE_ActionInProgress = false;
};
_config = configFile >> "CfgMagazines" >> _item;
@@ -60,4 +60,4 @@ player action ["Gear", _box];
cutText [(localize "str_epoch_player_78"), "PLAIN DOWN"];
TradeInprogress = false;
DZE_ActionInProgress = false;