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
12 lines
337 B
Plaintext
12 lines
337 B
Plaintext
private ["_plots","_friendlies","_thePlot"];
|
|
lbClear 7002;
|
|
_plots = nearestObjects [[player] call FNC_getPos, ["Plastic_Pole_EP1_DZ"],15];
|
|
_thePlot = _plots select 0;
|
|
_friendlies = _thePlot getVariable ["plotfriends", []];
|
|
{
|
|
lbAdd [7002, (_x select 1)];
|
|
} forEach _friendlies; // count causes Error Type Number, expected Bool here
|
|
|
|
|
|
|