Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _p2plyr = player;
- _p2ne = (position _p2plyr) nearEntities 30000;
- _p2totalPlayers = 0;
- _p2within3000 = -1;
- _countedVehs = [];
- {
- private["_e"];
- _e = _x;
- if (isPlayer _e) then {
- if (!(_e in _countedVehs)) then {
- _p2totalPlayers = ({alive _x} count (crew _e));
- if ((((position _p2plyr) distance (position _e)) < 3000)) then {
- _p2within3000 = _p2within3000 + ({alive _x} count (crew _e));
- };
- };
- };
- } forEach _p2ne;
Advertisement
Add Comment
Please, Sign In to add comment