mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Setting false allows adding any online player to plot friends regardless of their distance from the pole.
15 lines
367 B
Plaintext
15 lines
367 B
Plaintext
private ["_close"];
|
|
lbClear 7001;
|
|
_closePeople = player nearEntities ["CAManBase", 10];
|
|
if (!DZE_plotManagementMustBeClose) then {_closePeople = playableUnits};
|
|
Humans = [];
|
|
{
|
|
if (isPlayer _x) then {
|
|
_friendUID = getPlayerUID _x;
|
|
_friendName = name _x;
|
|
Humans = Humans + [[_friendUID,_friendName]] ;
|
|
lbAdd [7001, _friendName];
|
|
};
|
|
} count _closePeople;
|
|
|