mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
added plotManagement by DevZupa
This commit is contained in:
11
SQF/dayz_code/actions/plotManagement/plotGetFriends.sqf
Normal file
11
SQF/dayz_code/actions/plotManagement/plotGetFriends.sqf
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user