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:
@@ -1,5 +1,5 @@
|
||||
private ["_rawmeat","_cookedmeat","_meat","_meatcooked","_text","_qty","_dis","_sfx"];
|
||||
if (DZE_ActionInProgress) exitWith {cutText [localize "str_epoch_player_23","PLAIN DOWN"];};
|
||||
if (DZE_ActionInProgress) exitWith {localize "str_epoch_player_23" call dayz_rollingMessages;};
|
||||
DZE_ActionInProgress = true;
|
||||
//diag_log ("Cook Enabled");
|
||||
player removeAction s_player_cook;
|
||||
@@ -26,9 +26,9 @@ a_player_cooking = true;
|
||||
for "_x" from 1 to _qty do {
|
||||
player removeMagazine _meat;
|
||||
player addMagazine _meatcooked;
|
||||
if !(_meat in magazines player) exitWith {cutText [format [localize "str_player_31",_text,localize "str_player_31_cook"] , "PLAIN DOWN"]};
|
||||
if !(_meat in magazines player) exitWith {format[localize "str_player_31",_text,localize "str_player_31_cook"] call dayz_rollingMessages;};
|
||||
};
|
||||
cutText [format [localize "str_success_cooked",_qty,_text], "PLAIN DOWN"];
|
||||
format[localize "str_success_cooked",_qty,_text] call dayz_rollingMessages;
|
||||
};
|
||||
} forEach _rawmeat;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user