mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
@@ -63,8 +63,8 @@ if (_allFixed) then {
|
||||
|
||||
if(count _hitpoints > 0 ) then {
|
||||
|
||||
_cancel = dayz_myCursorTarget addAction ["Cancel", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false, "",""];
|
||||
_cancel = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_CANCEL", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false, "",""];
|
||||
s_player_repairActions set [count s_player_repairActions,_cancel];
|
||||
|
||||
s_player_repair_crtl = 1;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -64,7 +64,7 @@ _hitpoints = _vehicle call vehicle_getHitpoints;
|
||||
|
||||
if(count _hitpoints > 0 ) then {
|
||||
|
||||
_cancel = dayz_myCursorTarget addAction ["Cancel", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false, "",""];
|
||||
_cancel = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_CANCEL", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false, "",""];
|
||||
s_player_repairActions set [count s_player_repairActions,_cancel];
|
||||
s_player_repair_crtl = 1;
|
||||
};
|
||||
|
||||
@@ -286,7 +286,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
If(DZE_AllowCargoCheck) then {
|
||||
if((_isVehicle or _isTent or _isnewstorage) and _isAlive and !_isMan and !locked _cursorTarget) then {
|
||||
if (s_player_checkGear < 0) then {
|
||||
s_player_checkGear = player addAction ["Cargo Check", "\z\addons\dayz_code\actions\cargocheck.sqf",_cursorTarget, 1, true, true, "", ""];
|
||||
s_player_checkGear = player addAction [localize "STR_EPOCH_PLAYER_CARGO", "\z\addons\dayz_code\actions\cargocheck.sqf",_cursorTarget, 1, true, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_checkGear;
|
||||
@@ -650,8 +650,8 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
if ((dayz_myCursorTarget != _cursorTarget) and _isVehicle and !_isMan and _hasToolbox and (damage _cursorTarget < 1) and !_isDisallowRepair) then {
|
||||
if (s_player_repair_crtl < 0) then {
|
||||
dayz_myCursorTarget = _cursorTarget;
|
||||
_menu = dayz_myCursorTarget addAction ["Repair Vehicle", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
|
||||
_menu1 = dayz_myCursorTarget addAction ["Salvage Vehicle", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
|
||||
_menu = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_REPAIRV", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
|
||||
_menu1 = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_SALVAGEV", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
|
||||
s_player_repairActions set [count s_player_repairActions,_menu];
|
||||
s_player_repairActions set [count s_player_repairActions,_menu1];
|
||||
s_player_repair_crtl = 1;
|
||||
@@ -697,11 +697,11 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
|
||||
} forEach (_traderMenu select 1);
|
||||
// Database menu
|
||||
_buy = player addAction ["Trader Menu", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 99, true, false, "",""];
|
||||
_buy = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 99, true, false, "",""];
|
||||
s_player_parts set [count s_player_parts,_buy];
|
||||
|
||||
// Add static metals trader options under sub menu
|
||||
_metals_trader = player addAction ["Trade Metals", "\z\addons\dayz_code\actions\trade_metals.sqf",["na"], 0, true, false, "",""];
|
||||
_metals_trader = player addAction [localize "STR_EPOCH_PLAYER_301", "\z\addons\dayz_code\actions\trade_metals.sqf",["na"], 0, true, false, "",""];
|
||||
s_player_parts set [count s_player_parts,_metals_trader];
|
||||
|
||||
};
|
||||
|
||||
@@ -5560,12 +5560,12 @@
|
||||
<Key ID="STR_EPOCH_PLAYER_289">
|
||||
<Original>Trader Menu</Original>
|
||||
<English>Trader Menu</English>
|
||||
<German></German>
|
||||
<German>Trader Menu</German>
|
||||
<Russian>Меню торговца</Russian>
|
||||
<Spanish></Spanish>
|
||||
<Dutch></Dutch>
|
||||
<French></French>
|
||||
<Czech></Czech>
|
||||
<Spanish>Trader Menu</Spanish>
|
||||
<Dutch>Trader Menu</Dutch>
|
||||
<French>Trader Menu</French>
|
||||
<Czech>Trader Menu</Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_290">
|
||||
<Original>Categories</Original>
|
||||
@@ -5677,6 +5677,76 @@
|
||||
<French>Craft Sandbag</French>
|
||||
<Czech>Craft Sandbag</Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_301">
|
||||
<Original>Trade Metals</Original>
|
||||
<English>Trade Metals</English>
|
||||
<German>Trade Metals</German>
|
||||
<Russian>Trade Metals</Russian>
|
||||
<Spanish>Trade Metals</Spanish>
|
||||
<Dutch>Trade Metals</Dutch>
|
||||
<French>Trade Metals</French>
|
||||
<Czech>Trade Metals</Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_REPAIRV">
|
||||
<Original>Repair Vehicle</Original>
|
||||
<English>Repair Vehicle</English>
|
||||
<German></German>
|
||||
<Russian>Починить транспорт</Russian>
|
||||
<Spanish></Spanish>
|
||||
<Dutch>Repareer voertuig</Dutch>
|
||||
<French>Réparer le véhicule</French>
|
||||
<Czech></Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_REPAIR">
|
||||
<Original>Repair</Original>
|
||||
<English>Repair</English>
|
||||
<German></German>
|
||||
<Russian>Починить</Russian>
|
||||
<Spanish></Spanish>
|
||||
<Dutch>Repareer</Dutch>
|
||||
<French>Réparer</French>
|
||||
<Czech></Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_REMOVE">
|
||||
<Original>Remove</Original>
|
||||
<English>Remove</English>
|
||||
<German></German>
|
||||
<Russian>Снять</Russian>
|
||||
<Spanish></Spanish>
|
||||
<Dutch>Demonteer</Dutch>
|
||||
<French>Retirer</French>
|
||||
<Czech></Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_SALVAGEV">
|
||||
<Original>Salvage Vehicle</Original>
|
||||
<English>Salvage Vehicle</English>
|
||||
<German></German>
|
||||
<Russian>Снять запчасти</Russian>
|
||||
<Spanish></Spanish>
|
||||
<Dutch>Demonteer voertuig</Dutch>
|
||||
<French>Récupérer des pièces</French>
|
||||
<Czech></Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_CARGO">
|
||||
<Original>Cargo Check</Original>
|
||||
<English>Cargo Check</English>
|
||||
<German></German>
|
||||
<Russian>Проверить груз</Russian>
|
||||
<Spanish></Spanish>
|
||||
<Dutch>Controleer Bagage</Dutch>
|
||||
<French>Vérifier la cargaison</French>
|
||||
<Czech></Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_CANCEL">
|
||||
<Original>Cancel</Original>
|
||||
<English>Cancel</English>
|
||||
<German></German>
|
||||
<Russian>Отмена</Russian>
|
||||
<Spanish></Spanish>
|
||||
<Dutch>Annuleren</Dutch>
|
||||
<French>Annuler</French>
|
||||
<Czech></Czech>
|
||||
</Key>
|
||||
<Key ID="R3F_VERSION_WEIGHTED">
|
||||
<Original>1.04</Original>
|
||||
<English>1.04</English>
|
||||
|
||||
Reference in New Issue
Block a user