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,6 +1,6 @@
|
||||
private ["_array","_vehicle","_part","_hitpoint","_type","_isOK","_brokenPart","_started","_finished","_hasToolbox","_nameType","_namePart","_animState","_isMedic","_damage","_BreakableParts","_selection","_wpn","_classname","_ismelee"];
|
||||
|
||||
if (dayz_salvageInProgress) exitWith { cutText [localize "str_salvage_inprogress", "PLAIN DOWN"]; };
|
||||
if (dayz_salvageInProgress) exitWith { localize "str_salvage_inprogress" call dayz_rollingMessages; };
|
||||
dayz_salvageInProgress = true;
|
||||
|
||||
_array = _this select 3;
|
||||
@@ -73,12 +73,12 @@ if (_hasToolbox) then {
|
||||
_vehicle call fnc_veh_ResetEH;
|
||||
_vehicle setvelocity [0,0,1];
|
||||
if(_brokenPart) then {
|
||||
cutText [format [localize "str_salvage_destroyed",_namePart,_nameType], "PLAIN DOWN"];
|
||||
format[localize "str_salvage_destroyed",_namePart,_nameType] call dayz_rollingMessages;
|
||||
} else {
|
||||
cutText [format [localize "str_salvage_removed",_namePart,_nameType], "PLAIN DOWN"];
|
||||
format[localize "str_salvage_removed",_namePart,_nameType] call dayz_rollingMessages;
|
||||
};
|
||||
} else {
|
||||
cutText [localize "str_player_24", "PLAIN DOWN"];
|
||||
localize "str_player_24" call dayz_rollingMessages;
|
||||
};
|
||||
};
|
||||
} else {
|
||||
@@ -87,10 +87,10 @@ if (_hasToolbox) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText [localize "str_salvage_canceled", "PLAIN DOWN"];
|
||||
localize "str_salvage_canceled" call dayz_rollingMessages;
|
||||
};
|
||||
} else {
|
||||
cutText [format [localize "str_salvage_toolbox",_namePart], "PLAIN DOWN"];
|
||||
format[localize "str_salvage_toolbox",_namePart] call dayz_rollingMessages;
|
||||
};
|
||||
|
||||
dayz_myCursorTarget = objNull;
|
||||
|
||||
Reference in New Issue
Block a user