mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
added plotManagement by DevZupa
This commit is contained in:
13
SQF/dayz_code/actions/plotManagement/plotNearbyHumans.sqf
Normal file
13
SQF/dayz_code/actions/plotManagement/plotNearbyHumans.sqf
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user