mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
removed retry hopefully it will not be needed now
This commit is contained in:
@@ -80,17 +80,10 @@ if (_proceed) then {
|
|||||||
// all parts removed proceed
|
// all parts removed proceed
|
||||||
if (_tobe_removed_total == _removed_total) then {
|
if (_tobe_removed_total == _removed_total) then {
|
||||||
|
|
||||||
cutText [format[(localize "str_epoch_player_144"),_text], "PLAIN DOWN", 5];
|
|
||||||
|
|
||||||
_uniqueID = random(99999);
|
|
||||||
_retry = 0;
|
|
||||||
cutText [format[(localize "STR_EPOCH_ACTIONS_4"), _count], "PLAIN DOWN", 5];
|
cutText [format[(localize "STR_EPOCH_ACTIONS_4"), _count], "PLAIN DOWN", 5];
|
||||||
while {2 >= _retry} do { // 2 Times
|
PVDZE_maintainArea = [player,2,_obj];
|
||||||
_retry = _retry + 1;
|
publicVariableServer "PVDZE_maintainArea";
|
||||||
PVDZE_maintainArea = [player,2,[_obj],_uniqueID];
|
|
||||||
publicVariableServer "PVDZE_maintainArea";
|
|
||||||
sleep 20;
|
|
||||||
};
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
{player addMagazine _x;} forEach _temp_removed_array;
|
{player addMagazine _x;} forEach _temp_removed_array;
|
||||||
|
|||||||
Reference in New Issue
Block a user