mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add player to plot management by default
+ Some minor private array cleanup
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
private ["_close"];
|
||||
private ["_closePeople","_friendUID","_friendName"];
|
||||
lbClear 7001;
|
||||
_closePeople = player nearEntities ["CAManBase", 10];
|
||||
if (!DZE_plotManagementMustBeClose) then {_closePeople = playableUnits};
|
||||
if (!DZE_plotManagementMustBeClose) then {_closePeople = playableUnits;} else {_closePeople = player nearEntities ["CAManBase", 10];};
|
||||
Humans = [];
|
||||
{
|
||||
if (isPlayer _x) then {
|
||||
_friendUID = [_x] call FNC_GetPlayerUID;
|
||||
_friendName = name _x;
|
||||
_friendName = name _x;
|
||||
Humans = Humans + [[_friendUID,_friendName]];
|
||||
lbAdd [7001, _friendName];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user