mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
This prevents errors when upgrading 1051 databases that had plot or door
management installed.
See comments at:
fe9b8fdcb4
10 lines
362 B
Plaintext
10 lines
362 B
Plaintext
private ["_name","_plots","_friendlies","_thePlot"];
|
|
|
|
lbClear 7002;
|
|
_plots = nearestObjects [[player] call FNC_getPos, ["Plastic_Pole_EP1_DZ"],15];
|
|
_thePlot = _plots select 0;
|
|
_friendlies = _thePlot getVariable ["plotfriends", []];
|
|
{
|
|
_name = _x select 1;
|
|
lbAdd [7002, if (typeName _name == "ARRAY") then {toString _name} else {_name}];
|
|
} forEach _friendlies; |