Code:
n13 =
{
n132 =
{
if (isNil 'n131') then {n131 = 0;};
if (n131 == 0) then
{
hint "All Items ESP ON";
n131 = 1;
arr2 = [];
while {n131 == 1} do
{
_entities = (allMissionObjects "inventorybase");
{
if !(_x in arr2) then {
arr2 = arr2 + [_x];
[_x] spawn n133;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "All Items ESP OFF";
n131 = 0;
};
};
n133 =
{
disableSerialization;
if (isNil 'ESP_Count') then {ESP_Count = 2733;};
ESP_Count cutRsc ['rscDynamicText', 'PLAIN'];
ESP_Count = ESP_Count + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {(!isNull _unit) && ((player distance _unit) < 1000)} do
{
if (n131 == 0) exitWith {arr2 = arr2 - [_unit];_ctrl ctrlShow false;_ctrl ctrlEnable false;};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 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.22' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
arr2 = arr2 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n132;
};
Find this line
Code:
_text = parseText format ["<t size='0.22' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
Change the quotes to what ever size you want