Files
DayZ-Epoch/SQF/dayz_code/actions/plotManagement/plotNearbyHumans.sqf
2016-04-30 02:01:15 +02:00

14 lines
336 B
Plaintext

private ["_close"];
lbClear 7001;
_closePeople = player nearEntities ["CAManBase", 10];
Humans = [];
{
if (_x isKindOf "Man" and !(_x isKindOf "zZombie_base")) then {
_friendUID = getPlayerUID _x;
_friendName = name _x;
Humans = Humans + [[_friendUID,_friendName]] ;
lbAdd [7001, _friendName];
};
} forEach _closePeople;