mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Update all cutText to dayz_rollingMessages
This commit is contained in:
@@ -8,7 +8,7 @@ call gear_ui_init;
|
||||
|
||||
//note - one slot ammo can be used!
|
||||
r_action_count = r_action_count + 1;
|
||||
if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; };
|
||||
if (r_action_count != 1) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; };
|
||||
|
||||
_item = _this;
|
||||
|
||||
@@ -26,7 +26,7 @@ _item_ammo = gearSlotAmmoCount (uiNamespace getVariable 'uiControl');
|
||||
if (currentWeapon player != "") then {
|
||||
_mags = [] + getArray (configFile >> "cfgWeapons" >> (currentWeapon player) >> "magazines");
|
||||
};
|
||||
if !(_create in _mags) exitWith {cutText [localize "str_must_have_weapon", "PLAIN DOWN"];};
|
||||
if !(_create in _mags) exitWith {localize "str_must_have_weapon" call dayz_rollingMessages;};
|
||||
|
||||
*/
|
||||
player playActionNow "PutDown";
|
||||
@@ -97,7 +97,7 @@ if (_consume_magsize > _create_magsize) then {
|
||||
|
||||
if ((_qtynew_create_mags + _qtynew_consume_mags) > (_qty_create_mags + _qty_consume_mags + _qty_free_slots)) exitWith {
|
||||
r_action_count = 0;
|
||||
cutText [localize "str_player_24", "PLAIN DOWN"];
|
||||
localize "str_player_24" call dayz_rollingMessages;
|
||||
};
|
||||
_qtynew_consume_mags_full = floor(_qtynew_consume_ammo/_consume_magsize);
|
||||
_qtynew_create_mags_full = floor(_qtynew_create_ammo/_create_magsize);
|
||||
|
||||
Reference in New Issue
Block a user