if (isnil ("C0zRunOnce")) then
{
C0zRunOnce = true;
};
if (C0zRunOnce) then
{
new_queued = compile preprocessFileLineNumbers "\dz\modulesDayZ\scripts\player_queued.sqf";
[] spawn
{
while{true} do
{
waitUntil{!(isNil "clientReady") || !(isNil "clientNew")};
if(isNil "clientReady") then
{
PLAYER_ID = clientNew select 2;
}
else
{
PLAYER_ID = clientReady;
};
};
};
[] spawn
{
diag_log "instant respawn started";
while{true} do
{
player_queued =
{
_id = _this select 0;
_this set[6,0];
systemchat 'Instantly Respawned';
_this call new_queued;
};
};
};
[]spawn
{
while {true}do
{
0 cutRsc['RscTitleStructuredText', 'PLAIN'];
_display = uinamespace getvariable['RscTitleStructuredText', displaynull];
_ctrl = _display displayctrl 9999;
_ctrl ctrlShow true;
_ctrl ctrlEnable true;
_ctrl ctrlSetFade 0;
_ctrl ctrlSetPosition[safezonex, safezoney + 0.9, safezonew, safezoneH];
_ctrl ctrlSetStructuredText parseText "<t color='#848484'>(</t><t color='#8DFF00'>+</t><t color='#848484'>)</t>";
_ctrl ctrlcommit 0;
uiSleep 7;
};
};
[] spawn {
waitUntil{!isNil "clientReady"};
_var = profilenamespace getVariable["Dupe_Body",false];
if(_var) then {
publicVariableServer "clientReady";
sleep 0.2;
publicVariableServer "clientReady";
sleep 0.2;
publicVariableServer "clientReady";
sleep 0.2;
systemchat "DUPING PLAYER BODY!";
};
profilenamespace setVariable["Dupe_Body",false];
saveprofilenamespace;
waitUntil{!isNull player};
};
C0zRunOnce = false;
C0z_Functions = {
disableSerialization;
_C0z_Display = (findDisplay 155);
_C0z_editdisplay1 = _C0z_Display displayctrl 1122;
_C0z_editdisplay2 = _C0z_Display displayctrl 1002;
_C0z_editdisplay3 = _C0z_Display displayctrl 1119;
_C0z_editdisplay4 = _C0z_Display displayctrl 1116;
_C0z_editdisplay5 = _C0z_Display displayctrl 1118;
_C0z_editdisplay6 = _C0z_Display displayctrl 1229;
_C0z_editdisplay7 = _C0z_Display displayctrl 1156;
_C0z_editdisplay8 = _C0z_Display displayctrl 1000;
call compile toString[99,116,114,108,83,101,116,84,101,120,116,91,49,48,48,48,44,34,73,110,115,97,110,101,32,86,51,46,49,32,66,121,32,74,117,110,34,93,59];
ctrlSetText[109,"Welcome MPGH Users"];
ctrlSetText[1001,""];
_C0z_editdisplay1 ctrlSetText "Execute";
_C0z_editdisplay3 ctrlSetText "Map";
_C0z_editdisplay4 ctrlSetText "View Gear";
_C0z_editdisplay5 ctrlSetText "Spectate";
_C0z_editdisplay6 ctrlSetText "Dupe Body";
_C0z_editdisplay7 ctrlSetText "Relog";
buttonSetAction[1122,"call compile (ctrlText 1113)"];
buttonSetAction[1119,"[] spawn C0z_Map"];
buttonSetAction[1116,"[] spawn ViewGEar"];
buttonSetAction[1118,"[] spawn Spectate"];
buttonSetAction[1229,"[] spawn Dupe_Body"];
buttonSetAction[1156,"[] spawn Click_Me"];
[] spawn C0z_FillMainMenu;
[] spawn FillPlayers;
while{!isNull findDisplay(155)} do {
_C0z_editdisplay2 ctrlSetText "Scripts";
sleep 0.2;
_C0z_editdisplay8 ctrlsettextcolor [random 1,random 1, random 1,1];
};
};
Dupe_Body = {
profilenamespace setVariable["Dupe_Body",true];
saveprofilenamespace;
systemchat 'Nigga Hit Relog On Menu';
};
Click_Me = {
Endmission 'loser';
};
Spectate = {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
vehicle _x switchCamera "EXTERNAL";
systemchat format ["Spectating %1, press F10 to cancel", name _x];
};
} forEach _entities;
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x44) then {vehicle player switchCamera "EXTERNAL";}'];
};
Drawit = {
disableserialization;
drawing_text = true;
(_this select 4) cutrsc ["RscMissionScreen","plain down"];
_control = (uinamespace getvariable "BIS_RscMissionScreen") displayctrl 1300;
_control ctrlsetstructuredtext parsetext (_this select 0);
sleep 5;
drawing_text = false;
_control ctrlSetText "";
};
Targetselect =
{
_target = _this select 0;
targetname = _target;
_target2 = "Target = " + _target;
["<t size='1.3' color='#00E0FD'>" + _target2 + "</t>",0,0,0,0,5] spawn Drawit;
};
FillPlayers = {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((name _x != "unknown entity") && (alive _x)) then
{
_display = (findDisplay 155);
_control = _display displayCtrl 101;
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [101, (lbCurSel 101)]] spawn Targetselect;"];
_control ctrlCommit 0;
_index = _control lbAdd (name _x);
_control lbSetPicture [_index, "\DZ\ui\data\map\vehicleicons\iconMan_ca.paa"];
_hand = primaryWeapon _x;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if (_wName != "") then
{
_control lbSetPicture [_index, "\DZ\ui\data\igui\cfg\islandmap\iconplayer_ca.paa"];
};
if (name _x == targetname ) then
{
_control lbSetPicture [_index, "\DZ\ui\data\igui\cfg\PeripheralVision\bloodTexture_ca.paa"];
};
_found = [getplayeruid _x,str whitelist] call InString;
if (_found) then
{
_control lbSetPicture [_index, "\DZ\ui\data\map\vehicleicons\iconTank_ca.paa"];
};
};
} forEach _entities;
};
ViewGEar = {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
createGearDialog [(_x), "RscDisplayGear"];
};
} forEach _entities;
};
C0z_Map = {
disableSerialization;
closeDialog 0;
if (isNil "C0z_Map1") then
{
C0z_Map1 =
{
};
C0z_Map2 =
{
_ctrl = _this select 0;
{
_ctrl drawIcon ["\DZ\ui\data\map\markers\military\Start_CA.paa", if (_x == player) then {[0,0,1,1]} else {[1,0,0,1]}, getPos _x, ((1 - ctrlMapScale _ctrl) max 0.2)*30, ((1 - ctrlMapScale _ctrl) max 0.2)*30, getDir _x, "herro", 2];
} forEach (entities "SurvivorBase");
};
};
createDialog "RscDisplayMainMap";
_map = (findDisplay 12) displayCtrl 51;
_map ctrlAddEventhandler ["mousebuttondblclick","((_this select 0) posScreenToWorld [_this select 2, _this select 3]) spawn C0z_Map1"];
_map ctrlAddEventHandler ["Draw", "_this call n212"];
for "_i" from 0 to 9999 do
{
if (_i != 51) then
{
((findDisplay 12) displayCtrl _i) ctrlShow false;
};
};
};
ESPMENU = {
_display1 = (findDisplay 155);
_control1 = _display1 displayCtrl 102;
_ESPBUttoC0z1 = _display1 displayCtrl 1222;
_ESPBUttoC0z1 ctrlSetText "Main Scripts";
buttonSetAction[1222,"[] spawn C0z_FillMainMenu"];
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [102, (lbCurSel 102)]] spawn C0z_Execute;"];
_ESPItems = (findDisplay 155) displayCtrl 102;
lbClear _ESPItems;
lbAdd [102, "~~~~~~~~~~~~~~ITEM ESP~~~~~~~~~~~~~~"];
lbAdd [102, ""];
lbAdd [102, "ARME ESP"];
lbAdd [102, "INCARCATOARE ESP"];
lbAdd [102, "MUNITIE ESP"];
lbAdd [102, "MEDICAMENTE ESP"];
lbAdd [102, "MANCARE SI BAUTURA ESP"];
};
C0z_FillMainMenu = {
_display = (findDisplay 155);
_ESPBUtton = _display displayCtrl 1222;
_ESPBUtton ctrlSetText "Item ESP";
buttonSetAction[1222,"[] spawn ESPMENU"];
_control = _display displayCtrl 102;
lbClear _control;
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [102, (lbCurSel 102)]] spawn C0z_Execute;"];
lbAdd [102, "~~~~~~~~~~~~~~MAJOR ESP~~~~~~~~~~~~~~"];
lbAdd [102, ""];
lbAdd [102, "PLAYER ESP"];
lbAdd [102, "BODY ESP"];
lbAdd [102, "VEHICLE ESP"];
lbAdd [102, ""];
lbAdd [102, "~~~~~~~~~~~~~~MISC SCRIPTS~~~~~~~~~~~~~~"];
lbAdd [102, ""];
lbAdd [102, "CREDITS | HELP"];
lbAdd [102, "NIGHTLIGHT"];
lbAdd [102, "GUN GOD"];
lbAdd [102, "FARA CLADIRI"];
lbAdd [102, "BREAK FREE"];
lbAdd [102, "FAST ANIMZ | ZOMBIE"];
lbAdd [102, "MAP MARKERS"];
lbAdd [102, ""];
lbAdd [102, "~~~~~~~~~~~~~~MAGNETS~~~~~~~~~~~~~~"];
lbAdd [102, ""];
lbAdd [102, "ARME"];
lbAdd [102, "MUNITIE"];
lbAdd [102, "ATASAMENTE"];
lbAdd [102, "MANCARE SI BAUTURA"];
lbAdd [102, "ARME MELE"];
lbAdd [102, "MEDICAMENTE"];
lbAdd [102, "HAINE"];
lbAdd [102, "CUTI"];
lbAdd [102, "MASINI"];
};
C0z_Execute = {
_scriptname = _this select 0;
if (_scriptname == "FAST ANIMZ | ZOMBIE") then {
if (isnil ("FastAnimations")) then
{
FastAnimations = 0;
};
if (FastAnimations==0) then
{
FastAnimations=1;
systemchat "Fast Animations Activated";
playeraction "playerinjuredl";
}
else
{
systemchat "Fast Animations Deactivated";
playeraction "playerhealthy";
FastAnimations=0;
};
};
if (_scriptname == "ARME") then {
_C_C0z_entities = (allMissionObjects "LandVehicle");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setPos _C_C0z_poz;
} forEach _entities;
systemchat "Masini Teleportate!";
}
if (_scriptname == "MUNITIE") then {
_C_C0z_entities = (allMissionObjects "MagazineBase") + (allMissionObjects "AmmunitionItemBase") + (allMissionObjects "AmmunitionBoxItemBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Munitia este pe pamant!";
}
if (_scriptname == "ATASAMENTE") then {
_C_C0z_entities = (allMissionObjects "AttachmentBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Atasamentele sunt pe pamant!";
}
if (_scriptname == "MANCARE SI BAUTURA") then {
_C_C0z_entities = (allMissionObjects "DrinksItemBase") + (allMissionObjects "FoodItemBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Mancarea si Sucul sunt pe pamant!";
}
if (_scriptname == "ARME MELE") then {
_C_C0z_entities = (allMissionObjects "MeleeItemBase") + (allMissionObjects "Sword") + (allMissionObjects "KnifeBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Batele sunt pe pamant!";
}
if (_scriptname == "MEDICAMENTE") then {
_C_C0z_entities = (allMissionObjects "MedicalItemBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Medicamentele sunt pe pamant!";
}
if (_scriptname == "HAINE") then {
_C_C0z_entities = (allMissionObjects "ClothingBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Hainele sunt pe pamant!";
}
if (_scriptname == "CUTI") then {
_C_C0z_entities = (allMissionObjects "ContainerBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Cutiile sunt pe jos!";
}
if (_scriptname == "MASINI") then {
_C_C0z_entities = (allMissionObjects "LandVehicle");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setPos _C_C0z_poz;
} forEach _entities;
systemchat "Masini Teleportate!";
}
if (_scriptname == "FARA CLADIRI") then {
if (isnil ("C0z_Hide")) then
{
C0z_Hide = 0;
};
if (C0z_Hide == 0) then
{
systemchat "No Buildings ON";
C0z_Hide = 1;
}
else
{
systemchat "No Buildings OFF";
C0z_Hide = 0;
};
while {C0z_Hide == 1} do
{
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 4;
_typeof;
_typeof = toString _typeof;
if (_typeof == "land") then
{
hideObject _x;
};
};
}
forEach _entities;
sleep 5;
};
while {C0z_Hide == 0} do
{
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 4;
_typeof;
_typeof = toString _typeof;
if (_typeof == "land") then
{
_x hideObject false;
};
};
}
forEach _entities;
sleep 5;
};
};
if (_scriptname == "NIGHTLIGHT") then {
if (isNil "C0z_Lumina") then
{
C0z_Lumina = true;
};
if (C0z_Lumina) then
{
C0z_Luminaz = "#lightpoint" createVehicleLocal getpos player;
C0z_Luminaz setLightBrightness 9;
C0z_Luminaz setLightAmbient[15, 15, 15];
C0z_Luminaz setLightColor[.4, 1, 0];
C0z_Luminaz lightAttachObject [player, [0,0,15]];
C0z_Lumina = false;
systemchat "Night Light ON";
}
else
{
deleteVehicle C0z_Luminaz;
C0z_Lumina = true;
systemchat "Night Light OFF";
};
};
if (_scriptname == "GUN GOD") then {
if (isNil ("C0z_God")) then
{
C0z_God=0;
};
if (C0z_God==0) then
{
player setWeaponReloadingTime [player,currentWeapon player,0];
player setUnitRecoilCoefficient 0;
systemchat "Gun God ON";
C0z_God=1;
}
else
{
player setWeaponReloadingTime [player,currentWeapon player,1];
player setUnitRecoilCoefficient 1;
C0z_God=0;
systemchat "Gun God OFF";
};
};
if (_scriptname == "BREAK FREE") then {
actionReleased = player;
publicVariableServer 'actionReleased';
player setCaptive false;
player playAction "cancelAction";
systemchat "Broke Free";
};
if (_scriptname == "CREDITS | HELP") then {
closedialog 0;
" Jun - Insane V3
" hintC parsetext "
<t size='2'>Credits:<t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'>Jun<t/><br/>
<t size='1'>Mizzle For Scripts<t/><br/>
<t size='1'>Fonz For FHaX<t/><br/>
<t size='1'>Lystic For Scripts<t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='2'>Help:<t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'>Double Click On Player Name To Use Gear and<t/><br/>
<t size='1'>Spectate<t/><br/>
<t size='1'>Item ESP is at the Bottom of Menu<t/><br/>
<t size='1'>Updates Are Made by Jun so dont Spam Fini<t/><br/>
<t size='1'>JME Is a whore bag huehuehuehue that copypasta<t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
";
};
if (_scriptname == "MAP MARKERS") then {
closeDialog 0;
createDialog "RscDisplayMainMap";
sleep 2;
for "_j" from 1 to 100 do
{
deleteMarkerLocal ("marker" + str(_j));
};
_C_C0z_VD = viewDistance;
_C_C0z_OVD = 1000;
setViewDistance 1;
setobjectviewdistance 1;
_C_C0z_Start = [1000,2300,0];
_C_C0z_max = 15300;
_C_C0z_i = 1;
_C_C0z_u = 1;
_C_C0z_c = 0;
_C_C0z_arr = [];
_C_C0z_local = "camera" camCreate (getPos player);
_C_C0z_local cameraEffect ["INTERNAL", "BACK"];
systemchat "Scanning Map for Markers, This May Take a Few Minutes";
sleep 2;
systemchat "It is Normal for a Map to Display while this Happens";
sleep 2;
systemchat "Do Not Alt-Tab or Leave the map, Stay in-game it will Close Automatically";
sleep 2;
systemchat "Stay in-game the map will Close Automatically";
sleep 2;
while {((_C_C0z_Start select 0 < _C_C0z_max)) && ((_C_C0z_Start select 1 < _C_C0z_max))} do
{
while {(_C_C0z_Start select 0 < _C_C0z_max)} do
{
_C_C0z_local = "camera" camCreate _C_C0z_Start;
_C_C0z_local cameraEffect ["INTERNAL", "BACK"];
_C_C0z_obj = (allMissionObjects "car");
_C_C0z_obj1 = (entities "SurvivorBase");
_C_C0z_obj2 = (allMissionObjects "TentMedium_Pitched") + (allMissionObjects "TentLarge_Pitched") + (allMissionObjects "tentcar_Pitched") + (allMissionObjects "tentmedium_packed") + (allMissionObjects "tentlarge_backpack") + (allMissionObjects "tentcar_packed");
_C_C0z_obj3 = (allMissionObjects "Land_Mi8_Crashed") + (allMissionObjects "Land_UH1Y_Wreck") + (allMissionObjects "Land_Volha_police_DayZ");
if (count _C_C0z_obj != 0) then
{
{
if !((getPos _x) in _C_C0z_arr) then
{
_C_C0z_mark = createMarkerLocal ["marker" + str(_C_C0z_i), getPos _x];
_C_C0z_mark setMarkerTypeLocal "hd_objective";
_C_C0z_mark setMarkerColorLocal "ColorGreen";
_C_C0z_mark setMarkerSizeLocal [0.5, 0.5];
_C_C0z_mark setMarkerTextLocal (typeOf _x);
_C_C0z_i = _C_C0z_i + 1;
_C_C0z_arr set [count _C_C0z_arr, getPos _x];
};
} forEach _C_C0z_obj;
};
if (count _C_C0z_obj1 != 0) then
{
{
if !((getPos _x) in _C_C0z_arr) then
{
_C_C0z_mark1 = createMarkerLocal ["marker" + str(_C_C0z_i), getPos _x];
_C_C0z_mark1 setMarkerTypeLocal "hd_end";
_C_C0z_mark1 setMarkerColorLocal "ColorRed";
_C_C0z_mark1 setMarkerSizeLocal [0.5, 0.5];
_C_C0z_mark1 setMarkerTextLocal (Name _x);
_C_C0z_i = _C_C0z_i + 1;
_C_C0z_arr set [count _C_C0z_arr, getPos _x];
};
} forEach _C_C0z_obj1;
};
if (count _C_C0z_obj2 != 0) then
{
{
if !((getPos _x) in _C_C0z_arr) then
{
_C_C0z_mark2 = createMarkerLocal ["marker" + str(_C_C0z_i), getPos _x];
_C_C0z_mark2 setMarkerTypeLocal "hd_dot";
_C_C0z_mark2 setMarkerColorLocal "ColorOrange";
_C_C0z_mark2 setMarkerSizeLocal [0.5, 0.5];
_C_C0z_mark2 setMarkerTextLocal (typeOf _x);
_C_C0z_i = _C_C0z_i + 1;
_C_C0z_arr set [count _C_C0z_arr, getPos _x];
};
} forEach _C_C0z_obj2;
};
if (count _C_C0z_obj3 != 0) then
{
{
if !((getPos _x) in _C_C0z_arr) then
{
_C_C0z_mark3 = createMarkerLocal ["marker" + str(_C_C0z_i), getPos _x];
_C_C0z_mark3 setMarkerTypeLocal "hd_dot";
_C_C0z_mark3 setMarkerColorLocal "ColorBlue";
_C_C0z_mark3 setMarkerSizeLocal [0.5, 0.5];
_C_C0z_mark3 setMarkerTextLocal (typeOf _x);
_C_C0z_i = _C_C0z_i + 1;
_C_C0z_arr set [count _C_C0z_arr, getPos _x];
};
} forEach _C_C0z_obj3;
};
camDestroy _C_C0z_local;
_C_C0z_Start = [(_C_C0z_Start select 0) + 1000, (_C_C0z_Start select 1), 0];
_C_C0z_percent = round((_C_C0z_u / 15)*100);
if (_C_C0z_percent != _C_C0z_c) then
{
_C_C0z_c = _C_C0z_percent;
systemchat "Searching For Markers...";
};
};
_C_C0z_u = _C_C0z_u + 1;
_C_C0z_Start = [1000, (_C_C0z_Start select 1) + 1000, 0];
sleep 0.01;
};
setViewDistance _C_C0z_VD;
setObjectViewDistance _C_C0z_OVD;
camDestroy _C_C0z_local;
player cameraEffect ["TERMINATE", "BACK"];
systemchat "Map Scan Finished!";
closeDialog 0;
};
if (_scriptname == "MEDICAMENTE ESP") then {
C0z_Hake1 =
{
if (isNil 'C0z_Hake2') then
{
C0z_Hake2 = 0;
};
if (C0z_Hake2 == 0) then
{
systemchat "MEDICAMENTE ON";
C0z_Hake2 = 1;
C0z_Hake3 = [];
while {C0z_Hake2 == 1} do
{
_entities = (allMissionObjects "MedicalItemBase");
{
if !(_x in C0z_Hake3) then
{
C0z_Hake3 = C0z_Hake3 + [_x];
[_x] spawn C0z_Hake4;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "MEDICAMENTE OFF";
C0z_Hake2 = 0;
};
};
C0z_Hake4 =
{
disableSerialization;
if (isNil 'C0z_Hake5') then
{
C0z_Hake5 = 2733;
};
C0z_Hake5 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake5 = C0z_Hake5 + 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 (C0z_Hake2 == 0) exitWith
{
C0z_Hake3 = C0z_Hake3 - [_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.3' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
C0z_Hake3 = C0z_Hake3 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake1;
};
if (_scriptname == "MANCARE SI BAUTURA ESP") then {
C0z_Hake23 =
{
if (isNil 'C0z_Hake21') then
{
C0z_Hake21 = 0;
};
if (C0z_Hake21 == 0) then
{
systemchat "MANCARE SI BAUTURA ON";
C0z_Hake21 = 1;
arr1 = [];
while {C0z_Hake21 == 1} do
{
_entities = (player nearObjects ["DrinksItemBase",1000]) + (player nearObjects ["FoodItemBase",1000]) + (player nearObjects ["FoodCanned",1000]) + (player nearObjects ["FoodCanned_Closed",1000]) + (player nearObjects ["FruitBase",1000]) + (player nearObjects ["MeatBase ",1000]) + (player nearObjects ["berrybase",1000]);
{
if !(_x in arr1) then
{
arr1 = arr1 + [_x];
[_x] spawn C0z_Hake22;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "MANCARE SI BAUTURA OFF";
C0z_Hake21 = 0;
};
};
C0z_Hake22 =
{
disableSerialization;
if (isNil 'C0z_Hake24') then
{
C0z_Hake24 = 2833;
};
C0z_Hake24 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake24 = C0z_Hake24 + 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 (C0z_Hake21 == 0) exitWith
{
arr1 = arr1 - [_unit];
};
_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.2' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
arr1 = arr1 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake23;
};
if (_scriptname == "MUNITIE ESP") then {
C0z_Hake12 =
{
if (isNil 'C0z_Hake11') then
{
C0z_Hake11 = 0;
};
if (C0z_Hake11 == 0) then
{
systemchat "Ammo ESP ON";
C0z_Hake11 = 1;
C0z_Hake14 = [];
while {C0z_Hake11 == 1} do
{
_entities = (allMissionObjects "AmmunitionItemBase") + (allMissionObjects "AmmunitionBoxItemBase") + (allMissionObjects "ArrowsBase");
{
if !(_x in C0z_Hake14) then
{
C0z_Hake14 = C0z_Hake14 + [_x];
[_x] spawn C0z_Hake13;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "Ammo ESP OFF";
C0z_Hake11 = 0;
};
};
C0z_Hake13 =
{
disableSerialization;
if (isNil 'C0z_Hake15') then
{
C0z_Hake15 = 2733;
};
C0z_Hake15 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake15 = C0z_Hake15 + 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 (C0z_Hake11 == 0) exitWith
{
C0z_Hake14 = C0z_Hake14 - [_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.3' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
C0z_Hake14 = C0z_Hake14 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake12;
};
if (_scriptname == "INCARCATOARE ESP") then {
C0z_Hake42 =
{
if (isNil 'C0z_Hake41') then
{
C0z_Hake41 = 0;
};
if (C0z_Hake41 == 0) then
{
systemchat "Ammo ESP ON";
C0z_Hake41 = 1;
C0z_Hake44 = [];
while {C0z_Hake41 == 1} do
{
_entities = (allMissionObjects "MagazineBase");
{
if !(_x in C0z_Hake44) then
{
C0z_Hake44 = C0z_Hake44 + [_x];
[_x] spawn C0z_Hake43;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "Ammo ESP OFF";
C0z_Hake41 = 0;
};
};
C0z_Hake43 =
{
disableSerialization;
if (isNil 'C0z_Hake45') then
{
C0z_Hake45 = 2733;
};
C0z_Hake45 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake45 = C0z_Hake45 + 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 (C0z_Hake41 == 0) exitWith
{
C0z_Hake44 = C0z_Hake44 - [_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.3' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
C0z_Hake44 = C0z_Hake44 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake42;
};
if (_scriptname == "VEHICLE ESP") then {
C0z_Hake52 =
{
if (isNil 'C0z_Hake51') then
{
C0z_Hake51 = 0;
};
if (C0z_Hake51 == 0) then
{
systemchat "Vehicle ESP ON";
C0z_Hake51 = 1;
C0z_Hake55 = [];
while {C0z_Hake51 == 1} do
{
_entities = (allMissionObjects "V3S_Cargo") + (allMissionObjects "v3s_cargo_blue") + (allMissionObjects "Car_DZ");
{
if !(_x in C0z_Hake55) then
{
C0z_Hake55 = C0z_Hake55 + [_x];
[_x] spawn C0z_Hake53;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "Vehicle ESP OFF";
C0z_Hake51 = 0;
};
};
C0z_Hake53 =
{
disableSerialization;
if (isNil 'C0z_Hake54') then
{
C0z_Hake54 = 2733;
};
C0z_Hake54 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake54 = C0z_Hake54 + 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 (C0z_Hake51 == 0) exitWith
{
C0z_Hake55 = C0z_Hake55 - [_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.3' color='#7200FC'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
C0z_Hake55 = C0z_Hake55 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake52;
};
if (_scriptname == "BODY ESP") then {
C0z_Hake31 =
{
tarDis2 = 1000;
if (isNil 'C0z_Hake33') then
{
C0z_Hake33 = 0;
};
if (C0z_Hake33 == 0) then
{
C0z_Hake33 = 1;
systemchat "Body ESP ON";
_a = [];
while {C0z_Hake33 == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1050]);
_count = count _entities;
{
if (((_x in _a) && (alive _x)) or ((_x in _a) && ((positionCameraToWorld [0,0,0] distance _x) > tarDis2))) then {_a = _a - [_x];};
if ((_x != player) && (name _x != '') && !(_x in _a) && (name _X == "UnKnown Entity") && ((positionCameraToWorld [0,0,0] distance _x) <= tarDis2)) then
{
_a = _a + [_x];
[_x] spawn C0z_Hake32;
sleep 1;
};
} forEach _entities;
sleep 10;
};
}
else
{
C0z_Hake33 = 0;
systemchat "Body ESP OFF";
};
};
C0z_Hake32 = {
disableSerialization;
if (isNil 'C0z_Hake34') then
{
C0z_Hake34 = 2733;
};
C0z_Hake34 cutRsc ['RscDynamicText', 'PLAIN'];
C0z_Hake34 = C0z_Hake34 + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {!(alive _unit) && ((positionCameraToWorld [0,0,0] distance _unit) < tarDis2)} do
{
if (C0z_Hake33 == 0) exitWith
{
_ctrl ctrlShow false; _ctrl ctrlEnable false;
};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
_pos2D = WorldToScreen _pos;
_hand = primaryWeapon _unit;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if (_wName == "") then
{
_wName = typeof itemInHands _unit;
};
if ((count _pos2D > 0) && (name _unit == "UnKnown Entity") ) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['<t size=''0.35'' color=''#ff0000''>Body (%1m) <br/>Wep: %2</t>', round (positionCameraToWorld [0,0,0] distance _unit),_wName];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.05;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake31;
};
if (_scriptname == "ARME ESP") then {
C0z_Hake62 =
{
if (isNil 'C0z_Hake61') then
{
C0z_Hake61 = 0;
};
if (C0z_Hake61 == 0) then
{
systemchat "Weapon ESP ON";
C0z_Hake61 = 1;
arr1 = [];
while {C0z_Hake61 == 1} do
{
_entities = (allMissionObjects "riflecore") + (allMissionObjects "ShotgunBase") + (allMissionObjects "pistolcore") + (allMissionObjects "FlashGrenade") + (allMissionObjects "GrenadeBase");
{
if !(_x in arr1) then
{
arr1 = arr1 + [_x];
[_x] spawn C0z_Hake63;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "Weapon ESP OFF";
C0z_Hake61 = 0;
};
};
C0z_Hake63 =
{
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 (C0z_Hake61 == 0) exitWith
{
arr1 = arr1 - [_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.3' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
arr1 = arr1 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake62;
};
if (_scriptname == "PLAYER ESP") then {
C0z_Fucc_Battlez =
{
if (isNil 'C0z_Fucc_Battlez_EngineStart') then
{
C0z_Fucc_Battlez_EngineStart = 0;
};
if (C0z_Fucc_Battlez_EngineStart == 0) then
{
C0z_Fucc_Battlez_EngineStart = 1;
[player,'ALISA ESP OPEN...','colorfriendly'] call fnc_playerMessage;
hint parseText format ["<t size='1.4'align='center'color='#31e61a'>ALISA ESP OPEN</t>"];
a = [];
while {C0z_Fucc_Battlez_EngineStart == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearEntities ["SurvivorBase",1000]) + (positionCameraToWorld [0,0,0] nearObjects ["LandVehicle",1000]);
{
if (((_x in a) && !(alive _x)) or ((_x in a) && ((positionCameraToWorld [0,0,0] distance _x) > 1000))) then {a = a - [_x];};
if (!(_x in a) && (count crew _x != 0) && ((positionCameraToWorld [0,0,0] distance _x) <= 1000)) then
{
a = a + [_x];
if ((_x isKindOf "LandVehicle") && (count crew _x != 0)) then
{
[_x,true] spawn C0z_Fucc_Battlez_FirstGear;
};
if (_x isKindOf "SurvivorBase") then {
[_x,false] spawn C0z_Fucc_Battlez_FirstGear;
};
};
} forEach _entities;
sleep 0.1;
};
}
else
{
C0z_Fucc_Battlez_EngineStart = 0;
systemchat "Alisa Esp OFF";
hint parseText format ["<t size='1.4'align='center'color='#4997F5'>ALISA ESP CLOSED</t>"];
};
};
C0z_Fucc_Battlez_FirstGear =
{
disableSerialization;
if (isNil 'C0z_Fucc_Battlez_cutRsc') then {C0z_Fucc_Battlez_cutRsc = 2733;};
C0z_Fucc_Battlez_cutRsc cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Fucc_Battlez_cutRsc = C0z_Fucc_Battlez_cutRsc + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
_type = _this select 1;
_timeToReplace = time + 3.9;
while {(alive _unit) && ((positionCameraToWorld [0,0,0] distance _unit) < 1000)} do
{
if(time > _timeToReplace) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;if(_type) then {[_unit,true] spawn C0z_Fucc_Battlez_FirstGear} else {[_unit,false] spawn C0z_Fucc_Battlez_FirstGear;};};
if ((C0z_Fucc_Battlez_EngineStart == 0)) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;};
_pos = [];
_color = "";
if (surfaceIsWater getpos vehicle _unit) then {
_pos = [((getPosASL _unit) select 0) , (getPosASL _unit) select 1, ((getPosASL _unit) select 2) + 2];
}else{
_pos = [((getPosATL _unit) select 0), (getPosATL _unit) select 1, ((getPosATL _unit) select 2)+ 2];
};
_pos2D = WorldToScreen _pos;
if (_type) then
{
_ezez_cr4 = [];
{_ezez_cr4 = _ezez_cr4 + [name _x];} forEach crew _unit;
_name = getText (configfile >> "cfgVehicles" >> typeOf _unit >> "displayName");
if ((count _pos2D > 0) && (count crew _unit != 0))then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['<t size=''0.4'' color=''#4997F5''>%1 (%2m) [%3]</t>',_name, round (positionCameraToWorld [0,0,0] distance _unit),_ezez_cr4];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
};
comment "If You are Gonna Add This To your Menu it is okey But pls add my name ('AlisaALis') Some corner on your menu thanks...";
if !(_type) then {
if (_unit != vehicle _unit) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;a = a - [_unit];};
_health = round(((_unit getVariable['blood',0])/5000)*100);
_shock = round(((_unit getVariable['shock',0])/5000)*100);
_hand = currentWeapon _unit;
_handd = primaryWeapon _unit;
_wNamee = getText(configFile >> "cfgWeapons" >> _handd >> "displayName");
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
_seniGoruyor = (lineIntersectsWith [eyePos _unit, eyePos player, _unit, player]);
if (count _seniGoruyor != 0) then {_color = "#F2BD52"} else {_color = "#31e61a"};
if ((count _pos2D > 0) && (name _unit != 'UnKnown Entity') && !(visibleMap) && (_unit != player)) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['<t size=''0.4'' color=''%6''>%1 (%2m) [HP: %3%/%4]<br/>Gun: %5</t>', name _unit, round (positionCameraToWorld [0,0,0] distance _unit),_health,_shock,_wName,_color];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
};
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Fucc_Battlez;
};
systemchat "Dialog Menu Loaded Press H For Open";
if (isNil "_init") then
{
_keys = (findDisplay 46) displayAddEventHandler [
"KeyDown",
"if ((_this select 1) == 35) then
{
[] spawn C0z_Functions;
_dialog = createDialog 'RscDisplayDSinterface';
};
false;"];
};
};
if (isnil ("C0zRunOnce")) then
{
C0zRunOnce = true;
};
if (C0zRunOnce) then
{
new_queued = compile preprocessFileLineNumbers "\dz\modulesDayZ\scripts\player_queued.sqf";
[] spawn
{
while{true} do
{
waitUntil{!(isNil "clientReady") || !(isNil "clientNew")};
if(isNil "clientReady") then
{
PLAYER_ID = clientNew select 2;
}
else
{
PLAYER_ID = clientReady;
};
};
};
[] spawn
{
diag_log "instant respawn started";
while{true} do
{
player_queued =
{
_id = _this select 0;
_this set[6,0];
systemchat 'Instantly Respawned';
_this call new_queued;
};
};
};
[]spawn
{
while {true}do
{
0 cutRsc['RscTitleStructuredText', 'PLAIN'];
_display = uinamespace getvariable['RscTitleStructuredText', displaynull];
_ctrl = _display displayctrl 9999;
_ctrl ctrlShow true;
_ctrl ctrlEnable true;
_ctrl ctrlSetFade 0;
_ctrl ctrlSetPosition[safezonex, safezoney + 0.9, safezonew, safezoneH];
_ctrl ctrlSetStructuredText parseText "<t color='#848484'>(</t><t color='#8DFF00'>+</t><t color='#848484'>)</t>";
_ctrl ctrlcommit 0;
uiSleep 7;
};
};
[] spawn {
waitUntil{!isNil "clientReady"};
_var = profilenamespace getVariable["Dupe_Body",false];
if(_var) then {
publicVariableServer "clientReady";
sleep 0.2;
publicVariableServer "clientReady";
sleep 0.2;
publicVariableServer "clientReady";
sleep 0.2;
systemchat "DUPING PLAYER BODY!";
};
profilenamespace setVariable["Dupe_Body",false];
saveprofilenamespace;
waitUntil{!isNull player};
};
C0zRunOnce = false;
C0z_Functions = {
disableSerialization;
_C0z_Display = (findDisplay 155);
_C0z_editdisplay1 = _C0z_Display displayctrl 1122;
_C0z_editdisplay2 = _C0z_Display displayctrl 1002;
_C0z_editdisplay3 = _C0z_Display displayctrl 1119;
_C0z_editdisplay4 = _C0z_Display displayctrl 1116;
_C0z_editdisplay5 = _C0z_Display displayctrl 1118;
_C0z_editdisplay6 = _C0z_Display displayctrl 1229;
_C0z_editdisplay7 = _C0z_Display displayctrl 1156;
_C0z_editdisplay8 = _C0z_Display displayctrl 1000;
call compile toString[99,116,114,108,83,101,116,84,101,120,116,91,49,48,48,48,44,34,73,110,115,97,110,101,32,86,51,46,49,32,66,121,32,74,117,110,34,93,59];
ctrlSetText[109,"Welcome MPGH Users"];
ctrlSetText[1001,""];
_C0z_editdisplay1 ctrlSetText "Execute";
_C0z_editdisplay3 ctrlSetText "Map";
_C0z_editdisplay4 ctrlSetText "View Gear";
_C0z_editdisplay5 ctrlSetText "Spectate";
_C0z_editdisplay6 ctrlSetText "Dupe Body";
_C0z_editdisplay7 ctrlSetText "Relog";
buttonSetAction[1122,"call compile (ctrlText 1113)"];
buttonSetAction[1119,"[] spawn C0z_Map"];
buttonSetAction[1116,"[] spawn ViewGEar"];
buttonSetAction[1118,"[] spawn Spectate"];
buttonSetAction[1229,"[] spawn Dupe_Body"];
buttonSetAction[1156,"[] spawn Click_Me"];
[] spawn C0z_FillMainMenu;
[] spawn FillPlayers;
while{!isNull findDisplay(155)} do {
_C0z_editdisplay2 ctrlSetText "Scripts";
sleep 0.2;
_C0z_editdisplay8 ctrlsettextcolor [random 1,random 1, random 1,1];
};
};
Dupe_Body = {
profilenamespace setVariable["Dupe_Body",true];
saveprofilenamespace;
systemchat 'Nigga Hit Relog On Menu';
};
Click_Me = {
Endmission 'loser';
};
Spectate = {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
vehicle _x switchCamera "EXTERNAL";
systemchat format ["Spectating %1, press F10 to cancel", name _x];
};
} forEach _entities;
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x44) then {vehicle player switchCamera "EXTERNAL";}'];
};
Drawit = {
disableserialization;
drawing_text = true;
(_this select 4) cutrsc ["RscMissionScreen","plain down"];
_control = (uinamespace getvariable "BIS_RscMissionScreen") displayctrl 1300;
_control ctrlsetstructuredtext parsetext (_this select 0);
sleep 5;
drawing_text = false;
_control ctrlSetText "";
};
Targetselect =
{
_target = _this select 0;
targetname = _target;
_target2 = "Target = " + _target;
["<t size='1.3' color='#00E0FD'>" + _target2 + "</t>",0,0,0,0,5] spawn Drawit;
};
FillPlayers = {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((name _x != "unknown entity") && (alive _x)) then
{
_display = (findDisplay 155);
_control = _display displayCtrl 101;
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [101, (lbCurSel 101)]] spawn Targetselect;"];
_control ctrlCommit 0;
_index = _control lbAdd (name _x);
_control lbSetPicture [_index, "\DZ\ui\data\map\vehicleicons\iconMan_ca.paa"];
_hand = primaryWeapon _x;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if (_wName != "") then
{
_control lbSetPicture [_index, "\DZ\ui\data\igui\cfg\islandmap\iconplayer_ca.paa"];
};
if (name _x == targetname ) then
{
_control lbSetPicture [_index, "\DZ\ui\data\igui\cfg\PeripheralVision\bloodTexture_ca.paa"];
};
_found = [getplayeruid _x,str whitelist] call InString;
if (_found) then
{
_control lbSetPicture [_index, "\DZ\ui\data\map\vehicleicons\iconTank_ca.paa"];
};
};
} forEach _entities;
};
ViewGEar = {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
createGearDialog [(_x), "RscDisplayGear"];
};
} forEach _entities;
};
C0z_Map = {
disableSerialization;
closeDialog 0;
if (isNil "C0z_Map1") then
{
C0z_Map1 =
{
};
C0z_Map2 =
{
_ctrl = _this select 0;
{
_ctrl drawIcon ["\DZ\ui\data\map\markers\military\Start_CA.paa", if (_x == player) then {[0,0,1,1]} else {[1,0,0,1]}, getPos _x, ((1 - ctrlMapScale _ctrl) max 0.2)*30, ((1 - ctrlMapScale _ctrl) max 0.2)*30, getDir _x, "herro", 2];
} forEach (entities "SurvivorBase");
};
};
createDialog "RscDisplayMainMap";
_map = (findDisplay 12) displayCtrl 51;
_map ctrlAddEventhandler ["mousebuttondblclick","((_this select 0) posScreenToWorld [_this select 2, _this select 3]) spawn C0z_Map1"];
_map ctrlAddEventHandler ["Draw", "_this call n212"];
for "_i" from 0 to 9999 do
{
if (_i != 51) then
{
((findDisplay 12) displayCtrl _i) ctrlShow false;
};
};
};
ESPMENU = {
_display1 = (findDisplay 155);
_control1 = _display1 displayCtrl 102;
_ESPBUttoC0z1 = _display1 displayCtrl 1222;
_ESPBUttoC0z1 ctrlSetText "Main Scripts";
buttonSetAction[1222,"[] spawn C0z_FillMainMenu"];
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [102, (lbCurSel 102)]] spawn C0z_Execute;"];
_ESPItems = (findDisplay 155) displayCtrl 102;
lbClear _ESPItems;
lbAdd [102, "~~~~~~~~~~~~~~ITEM ESP~~~~~~~~~~~~~~"];
lbAdd [102, ""];
lbAdd [102, "ARME ESP"];
lbAdd [102, "INCARCATOARE ESP"];
lbAdd [102, "MUNITIE ESP"];
lbAdd [102, "MEDICAMENTE ESP"];
lbAdd [102, "MANCARE SI BAUTURA ESP"];
};
C0z_FillMainMenu = {
_display = (findDisplay 155);
_ESPBUtton = _display displayCtrl 1222;
_ESPBUtton ctrlSetText "Item ESP";
buttonSetAction[1222,"[] spawn ESPMENU"];
_control = _display displayCtrl 102;
lbClear _control;
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [102, (lbCurSel 102)]] spawn C0z_Execute;"];
lbAdd [102, "~~~~~~~~~~~~~~MAJOR ESP~~~~~~~~~~~~~~"];
lbAdd [102, ""];
lbAdd [102, "PLAYER ESP"];
lbAdd [102, "BODY ESP"];
lbAdd [102, "VEHICLE ESP"];
lbAdd [102, ""];
lbAdd [102, "~~~~~~~~~~~~~~MISC SCRIPTS~~~~~~~~~~~~~~"];
lbAdd [102, ""];
lbAdd [102, "CREDITS | HELP"];
lbAdd [102, "NIGHTLIGHT"];
lbAdd [102, "GUN GOD"];
lbAdd [102, "FARA CLADIRI"];
lbAdd [102, "BREAK FREE"];
lbAdd [102, "FAST ANIMZ | ZOMBIE"];
lbAdd [102, "MAP MARKERS"];
lbAdd [102, ""];
lbAdd [102, "~~~~~~~~~~~~~~MAGNETS~~~~~~~~~~~~~~"];
lbAdd [102, ""];
lbAdd [102, "ARME"];
lbAdd [102, "MUNITIE"];
lbAdd [102, "ATASAMENTE"];
lbAdd [102, "MANCARE SI BAUTURA"];
lbAdd [102, "ARME MELE"];
lbAdd [102, "MEDICAMENTE"];
lbAdd [102, "HAINE"];
lbAdd [102, "CUTI"];
lbAdd [102, "MASINI"];
};
C0z_Execute = {
_scriptname = _this select 0;
if (_scriptname == "FAST ANIMZ | ZOMBIE") then {
if (isnil ("FastAnimations")) then
{
FastAnimations = 0;
};
if (FastAnimations==0) then
{
FastAnimations=1;
systemchat "Fast Animations Activated";
playeraction "playerinjuredl";
}
else
{
systemchat "Fast Animations Deactivated";
playeraction "playerhealthy";
FastAnimations=0;
};
};
if (_scriptname == "ARME") then {
_C_C0z_entities = (allMissionObjects "LandVehicle");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setPos _C_C0z_poz;
} forEach _entities;
systemchat "Masini Teleportate!";
}
if (_scriptname == "MUNITIE") then {
_C_C0z_entities = (allMissionObjects "MagazineBase") + (allMissionObjects "AmmunitionItemBase") + (allMissionObjects "AmmunitionBoxItemBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Munitia este pe pamant!";
}
if (_scriptname == "ATASAMENTE") then {
_C_C0z_entities = (allMissionObjects "AttachmentBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Atasamentele sunt pe pamant!";
}
if (_scriptname == "MANCARE SI BAUTURA") then {
_C_C0z_entities = (allMissionObjects "DrinksItemBase") + (allMissionObjects "FoodItemBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Mancarea si Sucul sunt pe pamant!";
}
if (_scriptname == "ARME MELE") then {
_C_C0z_entities = (allMissionObjects "MeleeItemBase") + (allMissionObjects "Sword") + (allMissionObjects "KnifeBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Batele sunt pe pamant!";
}
if (_scriptname == "MEDICAMENTE") then {
_C_C0z_entities = (allMissionObjects "MedicalItemBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Medicamentele sunt pe pamant!";
}
if (_scriptname == "HAINE") then {
_C_C0z_entities = (allMissionObjects "ClothingBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Hainele sunt pe pamant!";
}
if (_scriptname == "CUTI") then {
_C_C0z_entities = (allMissionObjects "ContainerBase");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setpos _C_C0z_pos;
} forEach _C_C0z_entities;
systemchat "Cutiile sunt pe jos!";
}
if (_scriptname == "MASINI") then {
_C_C0z_entities = (allMissionObjects "LandVehicle");
{
_C_C0z_poz = _C_C0z_pos = getpos player;
_x setPos _C_C0z_poz;
} forEach _entities;
systemchat "Masini Teleportate!";
}
if (_scriptname == "FARA CLADIRI") then {
if (isnil ("C0z_Hide")) then
{
C0z_Hide = 0;
};
if (C0z_Hide == 0) then
{
systemchat "No Buildings ON";
C0z_Hide = 1;
}
else
{
systemchat "No Buildings OFF";
C0z_Hide = 0;
};
while {C0z_Hide == 1} do
{
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 4;
_typeof;
_typeof = toString _typeof;
if (_typeof == "land") then
{
hideObject _x;
};
};
}
forEach _entities;
sleep 5;
};
while {C0z_Hide == 0} do
{
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 4;
_typeof;
_typeof = toString _typeof;
if (_typeof == "land") then
{
_x hideObject false;
};
};
}
forEach _entities;
sleep 5;
};
};
if (_scriptname == "NIGHTLIGHT") then {
if (isNil "C0z_Lumina") then
{
C0z_Lumina = true;
};
if (C0z_Lumina) then
{
C0z_Luminaz = "#lightpoint" createVehicleLocal getpos player;
C0z_Luminaz setLightBrightness 9;
C0z_Luminaz setLightAmbient[15, 15, 15];
C0z_Luminaz setLightColor[.4, 1, 0];
C0z_Luminaz lightAttachObject [player, [0,0,15]];
C0z_Lumina = false;
systemchat "Night Light ON";
}
else
{
deleteVehicle C0z_Luminaz;
C0z_Lumina = true;
systemchat "Night Light OFF";
};
};
if (_scriptname == "GUN GOD") then {
if (isNil ("C0z_God")) then
{
C0z_God=0;
};
if (C0z_God==0) then
{
player setWeaponReloadingTime [player,currentWeapon player,0];
player setUnitRecoilCoefficient 0;
systemchat "Gun God ON";
C0z_God=1;
}
else
{
player setWeaponReloadingTime [player,currentWeapon player,1];
player setUnitRecoilCoefficient 1;
C0z_God=0;
systemchat "Gun God OFF";
};
};
if (_scriptname == "BREAK FREE") then {
actionReleased = player;
publicVariableServer 'actionReleased';
player setCaptive false;
player playAction "cancelAction";
systemchat "Broke Free";
};
if (_scriptname == "CREDITS | HELP") then {
closedialog 0;
" Jun - Insane V3
" hintC parsetext "
<t size='2'>Credits:<t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'>Jun<t/><br/>
<t size='1'>Mizzle For Scripts<t/><br/>
<t size='1'>Fonz For FHaX<t/><br/>
<t size='1'>Lystic For Scripts<t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='2'>Help:<t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'>Double Click On Player Name To Use Gear and<t/><br/>
<t size='1'>Spectate<t/><br/>
<t size='1'>Item ESP is at the Bottom of Menu<t/><br/>
<t size='1'>Updates Are Made by Jun so dont Spam Fini<t/><br/>
<t size='1'>JME Is a whore bag huehuehuehue that copypasta<t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
<t size='1'><t/><br/>
";
};
if (_scriptname == "MAP MARKERS") then {
closeDialog 0;
createDialog "RscDisplayMainMap";
sleep 2;
for "_j" from 1 to 100 do
{
deleteMarkerLocal ("marker" + str(_j));
};
_C_C0z_VD = viewDistance;
_C_C0z_OVD = 1000;
setViewDistance 1;
setobjectviewdistance 1;
_C_C0z_Start = [1000,2300,0];
_C_C0z_max = 15300;
_C_C0z_i = 1;
_C_C0z_u = 1;
_C_C0z_c = 0;
_C_C0z_arr = [];
_C_C0z_local = "camera" camCreate (getPos player);
_C_C0z_local cameraEffect ["INTERNAL", "BACK"];
systemchat "Scanning Map for Markers, This May Take a Few Minutes";
sleep 2;
systemchat "It is Normal for a Map to Display while this Happens";
sleep 2;
systemchat "Do Not Alt-Tab or Leave the map, Stay in-game it will Close Automatically";
sleep 2;
systemchat "Stay in-game the map will Close Automatically";
sleep 2;
while {((_C_C0z_Start select 0 < _C_C0z_max)) && ((_C_C0z_Start select 1 < _C_C0z_max))} do
{
while {(_C_C0z_Start select 0 < _C_C0z_max)} do
{
_C_C0z_local = "camera" camCreate _C_C0z_Start;
_C_C0z_local cameraEffect ["INTERNAL", "BACK"];
_C_C0z_obj = (allMissionObjects "car");
_C_C0z_obj1 = (entities "SurvivorBase");
_C_C0z_obj2 = (allMissionObjects "TentMedium_Pitched") + (allMissionObjects "TentLarge_Pitched") + (allMissionObjects "tentcar_Pitched") + (allMissionObjects "tentmedium_packed") + (allMissionObjects "tentlarge_backpack") + (allMissionObjects "tentcar_packed");
_C_C0z_obj3 = (allMissionObjects "Land_Mi8_Crashed") + (allMissionObjects "Land_UH1Y_Wreck") + (allMissionObjects "Land_Volha_police_DayZ");
if (count _C_C0z_obj != 0) then
{
{
if !((getPos _x) in _C_C0z_arr) then
{
_C_C0z_mark = createMarkerLocal ["marker" + str(_C_C0z_i), getPos _x];
_C_C0z_mark setMarkerTypeLocal "hd_objective";
_C_C0z_mark setMarkerColorLocal "ColorGreen";
_C_C0z_mark setMarkerSizeLocal [0.5, 0.5];
_C_C0z_mark setMarkerTextLocal (typeOf _x);
_C_C0z_i = _C_C0z_i + 1;
_C_C0z_arr set [count _C_C0z_arr, getPos _x];
};
} forEach _C_C0z_obj;
};
if (count _C_C0z_obj1 != 0) then
{
{
if !((getPos _x) in _C_C0z_arr) then
{
_C_C0z_mark1 = createMarkerLocal ["marker" + str(_C_C0z_i), getPos _x];
_C_C0z_mark1 setMarkerTypeLocal "hd_end";
_C_C0z_mark1 setMarkerColorLocal "ColorRed";
_C_C0z_mark1 setMarkerSizeLocal [0.5, 0.5];
_C_C0z_mark1 setMarkerTextLocal (Name _x);
_C_C0z_i = _C_C0z_i + 1;
_C_C0z_arr set [count _C_C0z_arr, getPos _x];
};
} forEach _C_C0z_obj1;
};
if (count _C_C0z_obj2 != 0) then
{
{
if !((getPos _x) in _C_C0z_arr) then
{
_C_C0z_mark2 = createMarkerLocal ["marker" + str(_C_C0z_i), getPos _x];
_C_C0z_mark2 setMarkerTypeLocal "hd_dot";
_C_C0z_mark2 setMarkerColorLocal "ColorOrange";
_C_C0z_mark2 setMarkerSizeLocal [0.5, 0.5];
_C_C0z_mark2 setMarkerTextLocal (typeOf _x);
_C_C0z_i = _C_C0z_i + 1;
_C_C0z_arr set [count _C_C0z_arr, getPos _x];
};
} forEach _C_C0z_obj2;
};
if (count _C_C0z_obj3 != 0) then
{
{
if !((getPos _x) in _C_C0z_arr) then
{
_C_C0z_mark3 = createMarkerLocal ["marker" + str(_C_C0z_i), getPos _x];
_C_C0z_mark3 setMarkerTypeLocal "hd_dot";
_C_C0z_mark3 setMarkerColorLocal "ColorBlue";
_C_C0z_mark3 setMarkerSizeLocal [0.5, 0.5];
_C_C0z_mark3 setMarkerTextLocal (typeOf _x);
_C_C0z_i = _C_C0z_i + 1;
_C_C0z_arr set [count _C_C0z_arr, getPos _x];
};
} forEach _C_C0z_obj3;
};
camDestroy _C_C0z_local;
_C_C0z_Start = [(_C_C0z_Start select 0) + 1000, (_C_C0z_Start select 1), 0];
_C_C0z_percent = round((_C_C0z_u / 15)*100);
if (_C_C0z_percent != _C_C0z_c) then
{
_C_C0z_c = _C_C0z_percent;
systemchat "Searching For Markers...";
};
};
_C_C0z_u = _C_C0z_u + 1;
_C_C0z_Start = [1000, (_C_C0z_Start select 1) + 1000, 0];
sleep 0.01;
};
setViewDistance _C_C0z_VD;
setObjectViewDistance _C_C0z_OVD;
camDestroy _C_C0z_local;
player cameraEffect ["TERMINATE", "BACK"];
systemchat "Map Scan Finished!";
closeDialog 0;
};
if (_scriptname == "MEDICAMENTE ESP") then {
C0z_Hake1 =
{
if (isNil 'C0z_Hake2') then
{
C0z_Hake2 = 0;
};
if (C0z_Hake2 == 0) then
{
systemchat "MEDICAMENTE ON";
C0z_Hake2 = 1;
C0z_Hake3 = [];
while {C0z_Hake2 == 1} do
{
_entities = (allMissionObjects "MedicalItemBase");
{
if !(_x in C0z_Hake3) then
{
C0z_Hake3 = C0z_Hake3 + [_x];
[_x] spawn C0z_Hake4;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "MEDICAMENTE OFF";
C0z_Hake2 = 0;
};
};
C0z_Hake4 =
{
disableSerialization;
if (isNil 'C0z_Hake5') then
{
C0z_Hake5 = 2733;
};
C0z_Hake5 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake5 = C0z_Hake5 + 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 (C0z_Hake2 == 0) exitWith
{
C0z_Hake3 = C0z_Hake3 - [_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.3' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
C0z_Hake3 = C0z_Hake3 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake1;
};
if (_scriptname == "MANCARE SI BAUTURA ESP") then {
C0z_Hake23 =
{
if (isNil 'C0z_Hake21') then
{
C0z_Hake21 = 0;
};
if (C0z_Hake21 == 0) then
{
systemchat "MANCARE SI BAUTURA ON";
C0z_Hake21 = 1;
arr1 = [];
while {C0z_Hake21 == 1} do
{
_entities = (player nearObjects ["DrinksItemBase",1000]) + (player nearObjects ["FoodItemBase",1000]) + (player nearObjects ["FoodCanned",1000]) + (player nearObjects ["FoodCanned_Closed",1000]) + (player nearObjects ["FruitBase",1000]) + (player nearObjects ["MeatBase ",1000]) + (player nearObjects ["berrybase",1000]);
{
if !(_x in arr1) then
{
arr1 = arr1 + [_x];
[_x] spawn C0z_Hake22;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "MANCARE SI BAUTURA OFF";
C0z_Hake21 = 0;
};
};
C0z_Hake22 =
{
disableSerialization;
if (isNil 'C0z_Hake24') then
{
C0z_Hake24 = 2833;
};
C0z_Hake24 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake24 = C0z_Hake24 + 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 (C0z_Hake21 == 0) exitWith
{
arr1 = arr1 - [_unit];
};
_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.2' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
arr1 = arr1 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake23;
};
if (_scriptname == "MUNITIE ESP") then {
C0z_Hake12 =
{
if (isNil 'C0z_Hake11') then
{
C0z_Hake11 = 0;
};
if (C0z_Hake11 == 0) then
{
systemchat "Ammo ESP ON";
C0z_Hake11 = 1;
C0z_Hake14 = [];
while {C0z_Hake11 == 1} do
{
_entities = (allMissionObjects "AmmunitionItemBase") + (allMissionObjects "AmmunitionBoxItemBase") + (allMissionObjects "ArrowsBase");
{
if !(_x in C0z_Hake14) then
{
C0z_Hake14 = C0z_Hake14 + [_x];
[_x] spawn C0z_Hake13;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "Ammo ESP OFF";
C0z_Hake11 = 0;
};
};
C0z_Hake13 =
{
disableSerialization;
if (isNil 'C0z_Hake15') then
{
C0z_Hake15 = 2733;
};
C0z_Hake15 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake15 = C0z_Hake15 + 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 (C0z_Hake11 == 0) exitWith
{
C0z_Hake14 = C0z_Hake14 - [_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.3' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
C0z_Hake14 = C0z_Hake14 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake12;
};
if (_scriptname == "INCARCATOARE ESP") then {
C0z_Hake42 =
{
if (isNil 'C0z_Hake41') then
{
C0z_Hake41 = 0;
};
if (C0z_Hake41 == 0) then
{
systemchat "Ammo ESP ON";
C0z_Hake41 = 1;
C0z_Hake44 = [];
while {C0z_Hake41 == 1} do
{
_entities = (allMissionObjects "MagazineBase");
{
if !(_x in C0z_Hake44) then
{
C0z_Hake44 = C0z_Hake44 + [_x];
[_x] spawn C0z_Hake43;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "Ammo ESP OFF";
C0z_Hake41 = 0;
};
};
C0z_Hake43 =
{
disableSerialization;
if (isNil 'C0z_Hake45') then
{
C0z_Hake45 = 2733;
};
C0z_Hake45 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake45 = C0z_Hake45 + 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 (C0z_Hake41 == 0) exitWith
{
C0z_Hake44 = C0z_Hake44 - [_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.3' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
C0z_Hake44 = C0z_Hake44 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake42;
};
if (_scriptname == "VEHICLE ESP") then {
C0z_Hake52 =
{
if (isNil 'C0z_Hake51') then
{
C0z_Hake51 = 0;
};
if (C0z_Hake51 == 0) then
{
systemchat "Vehicle ESP ON";
C0z_Hake51 = 1;
C0z_Hake55 = [];
while {C0z_Hake51 == 1} do
{
_entities = (allMissionObjects "V3S_Cargo") + (allMissionObjects "v3s_cargo_blue") + (allMissionObjects "Car_DZ");
{
if !(_x in C0z_Hake55) then
{
C0z_Hake55 = C0z_Hake55 + [_x];
[_x] spawn C0z_Hake53;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "Vehicle ESP OFF";
C0z_Hake51 = 0;
};
};
C0z_Hake53 =
{
disableSerialization;
if (isNil 'C0z_Hake54') then
{
C0z_Hake54 = 2733;
};
C0z_Hake54 cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Hake54 = C0z_Hake54 + 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 (C0z_Hake51 == 0) exitWith
{
C0z_Hake55 = C0z_Hake55 - [_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.3' color='#7200FC'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
C0z_Hake55 = C0z_Hake55 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake52;
};
if (_scriptname == "BODY ESP") then {
C0z_Hake31 =
{
tarDis2 = 1000;
if (isNil 'C0z_Hake33') then
{
C0z_Hake33 = 0;
};
if (C0z_Hake33 == 0) then
{
C0z_Hake33 = 1;
systemchat "Body ESP ON";
_a = [];
while {C0z_Hake33 == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1050]);
_count = count _entities;
{
if (((_x in _a) && (alive _x)) or ((_x in _a) && ((positionCameraToWorld [0,0,0] distance _x) > tarDis2))) then {_a = _a - [_x];};
if ((_x != player) && (name _x != '') && !(_x in _a) && (name _X == "UnKnown Entity") && ((positionCameraToWorld [0,0,0] distance _x) <= tarDis2)) then
{
_a = _a + [_x];
[_x] spawn C0z_Hake32;
sleep 1;
};
} forEach _entities;
sleep 10;
};
}
else
{
C0z_Hake33 = 0;
systemchat "Body ESP OFF";
};
};
C0z_Hake32 = {
disableSerialization;
if (isNil 'C0z_Hake34') then
{
C0z_Hake34 = 2733;
};
C0z_Hake34 cutRsc ['RscDynamicText', 'PLAIN'];
C0z_Hake34 = C0z_Hake34 + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {!(alive _unit) && ((positionCameraToWorld [0,0,0] distance _unit) < tarDis2)} do
{
if (C0z_Hake33 == 0) exitWith
{
_ctrl ctrlShow false; _ctrl ctrlEnable false;
};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
_pos2D = WorldToScreen _pos;
_hand = primaryWeapon _unit;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if (_wName == "") then
{
_wName = typeof itemInHands _unit;
};
if ((count _pos2D > 0) && (name _unit == "UnKnown Entity") ) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['<t size=''0.35'' color=''#ff0000''>Body (%1m) <br/>Wep: %2</t>', round (positionCameraToWorld [0,0,0] distance _unit),_wName];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.05;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake31;
};
if (_scriptname == "ARME ESP") then {
C0z_Hake62 =
{
if (isNil 'C0z_Hake61') then
{
C0z_Hake61 = 0;
};
if (C0z_Hake61 == 0) then
{
systemchat "Weapon ESP ON";
C0z_Hake61 = 1;
arr1 = [];
while {C0z_Hake61 == 1} do
{
_entities = (allMissionObjects "riflecore") + (allMissionObjects "ShotgunBase") + (allMissionObjects "pistolcore") + (allMissionObjects "FlashGrenade") + (allMissionObjects "GrenadeBase");
{
if !(_x in arr1) then
{
arr1 = arr1 + [_x];
[_x] spawn C0z_Hake63;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "Weapon ESP OFF";
C0z_Hake61 = 0;
};
};
C0z_Hake63 =
{
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 (C0z_Hake61 == 0) exitWith
{
arr1 = arr1 - [_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.3' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
arr1 = arr1 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Hake62;
};
if (_scriptname == "PLAYER ESP") then {
C0z_Fucc_Battlez =
{
if (isNil 'C0z_Fucc_Battlez_EngineStart') then
{
C0z_Fucc_Battlez_EngineStart = 0;
};
if (C0z_Fucc_Battlez_EngineStart == 0) then
{
C0z_Fucc_Battlez_EngineStart = 1;
[player,'ALISA ESP OPEN...','colorfriendly'] call fnc_playerMessage;
hint parseText format ["<t size='1.4'align='center'color='#31e61a'>ALISA ESP OPEN</t>"];
a = [];
while {C0z_Fucc_Battlez_EngineStart == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearEntities ["SurvivorBase",1000]) + (positionCameraToWorld [0,0,0] nearObjects ["LandVehicle",1000]);
{
if (((_x in a) && !(alive _x)) or ((_x in a) && ((positionCameraToWorld [0,0,0] distance _x) > 1000))) then {a = a - [_x];};
if (!(_x in a) && (count crew _x != 0) && ((positionCameraToWorld [0,0,0] distance _x) <= 1000)) then
{
a = a + [_x];
if ((_x isKindOf "LandVehicle") && (count crew _x != 0)) then
{
[_x,true] spawn C0z_Fucc_Battlez_FirstGear;
};
if (_x isKindOf "SurvivorBase") then {
[_x,false] spawn C0z_Fucc_Battlez_FirstGear;
};
};
} forEach _entities;
sleep 0.1;
};
}
else
{
C0z_Fucc_Battlez_EngineStart = 0;
systemchat "Alisa Esp OFF";
hint parseText format ["<t size='1.4'align='center'color='#4997F5'>ALISA ESP CLOSED</t>"];
};
};
C0z_Fucc_Battlez_FirstGear =
{
disableSerialization;
if (isNil 'C0z_Fucc_Battlez_cutRsc') then {C0z_Fucc_Battlez_cutRsc = 2733;};
C0z_Fucc_Battlez_cutRsc cutRsc ['rscDynamicText', 'PLAIN'];
C0z_Fucc_Battlez_cutRsc = C0z_Fucc_Battlez_cutRsc + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
_type = _this select 1;
_timeToReplace = time + 3.9;
while {(alive _unit) && ((positionCameraToWorld [0,0,0] distance _unit) < 1000)} do
{
if(time > _timeToReplace) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;if(_type) then {[_unit,true] spawn C0z_Fucc_Battlez_FirstGear} else {[_unit,false] spawn C0z_Fucc_Battlez_FirstGear;};};
if ((C0z_Fucc_Battlez_EngineStart == 0)) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;};
_pos = [];
_color = "";
if (surfaceIsWater getpos vehicle _unit) then {
_pos = [((getPosASL _unit) select 0) , (getPosASL _unit) select 1, ((getPosASL _unit) select 2) + 2];
}else{
_pos = [((getPosATL _unit) select 0), (getPosATL _unit) select 1, ((getPosATL _unit) select 2)+ 2];
};
_pos2D = WorldToScreen _pos;
if (_type) then
{
_ezez_cr4 = [];
{_ezez_cr4 = _ezez_cr4 + [name _x];} forEach crew _unit;
_name = getText (configfile >> "cfgVehicles" >> typeOf _unit >> "displayName");
if ((count _pos2D > 0) && (count crew _unit != 0))then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['<t size=''0.4'' color=''#4997F5''>%1 (%2m) [%3]</t>',_name, round (positionCameraToWorld [0,0,0] distance _unit),_ezez_cr4];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
};
comment "If You are Gonna Add This To your Menu it is okey But pls add my name ('AlisaALis') Some corner on your menu thanks...";
if !(_type) then {
if (_unit != vehicle _unit) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;a = a - [_unit];};
_health = round(((_unit getVariable['blood',0])/5000)*100);
_shock = round(((_unit getVariable['shock',0])/5000)*100);
_hand = currentWeapon _unit;
_handd = primaryWeapon _unit;
_wNamee = getText(configFile >> "cfgWeapons" >> _handd >> "displayName");
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
_seniGoruyor = (lineIntersectsWith [eyePos _unit, eyePos player, _unit, player]);
if (count _seniGoruyor != 0) then {_color = "#F2BD52"} else {_color = "#31e61a"};
if ((count _pos2D > 0) && (name _unit != 'UnKnown Entity') && !(visibleMap) && (_unit != player)) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['<t size=''0.4'' color=''%6''>%1 (%2m) [HP: %3%/%4]<br/>Gun: %5</t>', name _unit, round (positionCameraToWorld [0,0,0] distance _unit),_health,_shock,_wName,_color];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
};
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn C0z_Fucc_Battlez;
};
systemchat "Dialog Menu Loaded Press H For Open";
if (isNil "_init") then
{
_keys = (findDisplay 46) displayAddEventHandler [
"KeyDown",
"if ((_this select 1) == 35) then
{
[] spawn C0z_Functions;
_dialog = createDialog 'RscDisplayDSinterface';
};
false;"];
};