mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-10 20:03:21 +03:00
Update all cutText to dayz_rollingMessages
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user