mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fixes unintended black on black buttons and left aligned button text. Plot management uses Zupa's older defines. The only changes for this button type are the background color and text alignment. https://github.com/DevZupa/PlotManagement/blob/master/MaintainVersion/plotManagement/defines.hpp#L568 https://github.com/DevZupa/PlotManagement/blob/master/MaintainVersion/plotManagement/defines.hpp#L588
13 lines
421 B
Plaintext
13 lines
421 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];
|
|
};
|
|
} forEach _closePeople; // count causes Error Type Number, expected Bool here |