mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Hide show on screen text for Vehicle Locked and Destroy %1
This commit is contained in:
@@ -461,7 +461,7 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
|
|||||||
|
|
||||||
if (_player_deleteBuild) then {
|
if (_player_deleteBuild) then {
|
||||||
if (s_player_deleteBuild < 0) then {
|
if (s_player_deleteBuild < 0) then {
|
||||||
s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, true, true];
|
s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, false, true];
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
player removeAction s_player_deleteBuild;
|
player removeAction s_player_deleteBuild;
|
||||||
@@ -757,7 +757,7 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
|
|||||||
if (_hasHotwireKit) then {
|
if (_hasHotwireKit) then {
|
||||||
_unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_HOTWIRE",_text], "\z\addons\dayz_code\actions\hotwire_veh.sqf",_cursorTarget, 2, true, true];
|
_unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_HOTWIRE",_text], "\z\addons\dayz_code\actions\hotwire_veh.sqf",_cursorTarget, 2, true, true];
|
||||||
} else {
|
} else {
|
||||||
_unlock = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_VEHLOCKED"], "",_cursorTarget, 2, true, true];
|
_unlock = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_VEHLOCKED"], "",_cursorTarget, 2, false, true];
|
||||||
};
|
};
|
||||||
s_player_lockunlock set [count s_player_lockunlock,_unlock];
|
s_player_lockunlock set [count s_player_lockunlock,_unlock];
|
||||||
s_player_lockUnlock_crtl = 1;
|
s_player_lockUnlock_crtl = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user