mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
Update all cutText to dayz_rollingMessages
This commit is contained in:
@@ -13,14 +13,14 @@ _qty_quiverarrows = gearSlotAmmoCount _control;
|
||||
_empty = [player] call BIS_fnc_invSlotsEmpty;
|
||||
_emptymagslotcount = _empty select 4; //empty magazines slots
|
||||
|
||||
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_quiverarrows == 2) then { //remove quiver - add 2 arrows
|
||||
if (_emptymagslotcount > 0) then {
|
||||
player removeMagazine "Quiver";
|
||||
player addMagazine "WoodenArrow";
|
||||
player addMagazine "WoodenArrow";
|
||||
} else {
|
||||
cutText [localize "str_player_24", "PLAIN DOWN"]; //Error
|
||||
localize "str_player_24" call dayz_rollingMessages; //Error
|
||||
};
|
||||
} else {
|
||||
if (_emptymagslotcount > 0) then {
|
||||
@@ -28,6 +28,6 @@ if (_qty_quiverarrows == 2) then { //remove quiver - add 2 arrows
|
||||
player addMagazine "WoodenArrow";
|
||||
player addMagazine ["Quiver",_qty_quiverarrows-1];
|
||||
} else {
|
||||
cutText [localize "str_player_24", "PLAIN DOWN"]; //Error
|
||||
localize "str_player_24" call dayz_rollingMessages; //Error
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user