Update all cutText to dayz_rollingMessages

This commit is contained in:
ebaydayz
2016-04-16 15:47:49 -04:00
parent 993ce14da6
commit 5157228e67
137 changed files with 604 additions and 621 deletions

View File

@@ -10,7 +10,7 @@ _control = uiNamespace getVariable 'uiControl';
_qty_quiverarrows = gearSlotAmmoCount _control;
_qty_quiverfreeslots = 12-_qty_quiverarrows;
//if (_qty_quivers > 1) exitWith { cutText [localize "str_quiver_reachlimit", "PLAIN DOWN"];};
//if (_qty_quivers > 1) exitWith { localize "str_quiver_reachlimit" call dayz_rollingMessages;};
if (_qty_quiverfreeslots > 0) then {
_qty_arrows2add = _qty_quiverfreeslots min _qty_arrows;
player removeMagazine "Quiver";
@@ -18,7 +18,7 @@ if (_qty_quiverfreeslots > 0) then {
player removeMagazine "WoodenArrow";
};
player addMagazine ["Quiver",_qty_quiverarrows+_qty_arrows2add];
cutText [format [localize "str_quiver_addarrows",_qty_arrows2add], "PLAIN DOWN"];
format[localize "str_quiver_addarrows",_qty_arrows2add] call dayz_rollingMessages;
} else {
cutText [localize "str_quiver_full", "PLAIN DOWN"];
localize "str_quiver_full" call dayz_rollingMessages;
};