mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
#735 localize more (vehicle repair/salvage, etc)
This commit is contained in:
@@ -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 ((dayz_myCursorTarget != _cursorTarget) and _isVehicle and !_isMan and _hasToolbox and (damage _cursorTarget < 1) and !_isDisallowRepair) then {
|
||||||
if (s_player_repair_crtl < 0) then {
|
if (s_player_repair_crtl < 0) then {
|
||||||
dayz_myCursorTarget = _cursorTarget;
|
dayz_myCursorTarget = _cursorTarget;
|
||||||
_menu = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_REPAIR", "\z\addons\dayz_code\actions\repair_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_SALVAGE", "\z\addons\dayz_code\actions\salvage_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,_menu];
|
||||||
s_player_repairActions set [count s_player_repairActions,_menu1];
|
s_player_repairActions set [count s_player_repairActions,_menu1];
|
||||||
s_player_repair_crtl = 1;
|
s_player_repair_crtl = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user