Files
DayZ-Epoch/SQF/dayz_code/actions/plotManagement/plotNearbyHumans.sqf
ebaydayz 9d51fb2736 Fix plot management buttons color and text alignment
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
2016-05-17 22:02:21 -04:00

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