Esp question

Posts 13 of 3 · Page 1 of 1
Esp question
I can't seem to find a good working esp script. I got a few but like some people don't show up on it all the time and sometimes the names switch of the people that aren't really them if u know what i mean lol. The server i am playing on which is called Island life really requires you to know the names of the people :/.
Here's one. It shows their name and their distance from you, up to 1500m I believe.
Obviously, you need a bypass to not get banned for using this.

Code:
xdistance = 1200;
if (isNil "xtags") then
{
	xtags = 0;
	fn_esp =
	{
		disableSerialization;
		if (isNil "BIS_fnc_3dCredits_n") then {BIS_fnc_3dCredits_n = 2733;};
		BIS_fnc_3dCredits_n cutRsc ["rscDynamicText", "PLAIN"];
		BIS_fnc_3dCredits_n = BIS_fnc_3dCredits_n + 1;
		_ctrl = ((uiNamespace getvariable "BIS_dynamicText") displayctrl 9999);
		_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
		_unit = _this select 0;
		while {(alive _unit) && ((player distance _unit) < xdistance) && (xtags == 1)} do
		{
			_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
			_pos2D = worldToScreen _pos;
			if (count _pos2D > 0) then
			{
				_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
				_text = parseText format ["<t size='0.35' color='#FF1AAA'>%1 (%2m)</t>", name _unit, round (player distance _unit)];
				_ctrl ctrlSetStructuredText _text;
				_ctrl ctrlCommit 0;
			};
			sleep 0.01;
		};
		_ctrl ctrlShow false;
		_ctrl ctrlEnable false;
	};
};

if (xtags == 0) then
{
	xtags = 1;
	hint "ESP ON";
	_a = [];
	while {xtags == 1} do
	{
		_count = count ((position player) nearEntities [["CAManBase"], xdistance]);
		{
			if (((_x in _a) && !(alive _x)) or ((_x in _a) && ((player distance _x) > xdistance))) then {_a = _a - [_x];};
			if ((_x != player) && (getPlayerUID _x != "") && (name _x != "") && !(_x in _a) && ((player distance _x) < xdistance)) then
			{
				_a = _a + [_x];
				[_x] spawn fn_esp;
				sleep 1;
			};
		} forEach playableUnits;
		waitUntil {_count != count ((position player) nearEntities [["CAManBase"], xdistance])};
	};
}

else
{
	xtags = 0;
	hint "ESP OFF";
};
I know some monkey menus that have very nice EPSs, I would recommend the MPGH super menu; the esp worked great for me.
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?