Files
DayZ-Epoch/SQF/dayz_code/actions/plotManagement/plotGetFriends.sqf
2016-04-30 02:01:15 +02:00

12 lines
265 B
Plaintext

private ["_plots","_friendlies","_thePlot"];
lbClear 7002;
_plots = nearestObjects [player, ["Plastic_Pole_EP1_DZ"],15];
_thePlot = _plots select 0;
_friendlies = _thePlot getVariable ["plotfriends", []];
{
lbAdd [7002, (_x select 1)];
} forEach _friendlies;