mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
plot pole radius preview
This commit is contained in:
@@ -190,11 +190,14 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
_player_lockUnlock_crtl = false;
|
||||
|
||||
if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "Plastic_Pole_EP1_DZ")) then {
|
||||
s_player_plotpole_preview = player addAction ["<t color=""#ffffff"">Preview Plot Radius</t>", "\z\addons\dayz_code\compile\object_showPlotRadius.sqf",[], 0, false, true, "", ""];
|
||||
if (s_player_maintain_area < 0) then {
|
||||
s_player_maintain_area = player addAction ["<t color=""#ffffff"">Maintain Area</t>", "\z\addons\dayz_code\actions\maintain_area.sqf", "maintain", 5, false];
|
||||
s_player_maintain_area_preview = player addAction ["<t color=""#ccffffff"">Maintain Area Preview</t>", "\z\addons\dayz_code\actions\maintain_area.sqf", "preview", 5, false];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_plotpole_preview;
|
||||
s_player_plotpole_preview = -1;
|
||||
player removeAction s_player_maintain_area;
|
||||
s_player_maintain_area = -1;
|
||||
player removeAction s_player_maintain_area_preview;
|
||||
|
||||
Reference in New Issue
Block a user