sahrilcandra
High-Ticket Closer
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
400 XP
Jun1997's Private DayZ MultiHack Release
CREDITS:
Jun1997
Mizzle
Fonz
CH40S
FULL RELEASE - ENJOY - MAKE YOUR OWN
Edited by ThiagoRLX, 25 October 2015 - 03:13 AM.
Loading…
embed.gyazo.com
Code:
if (isnil ("runonce")) then
{
runonce = true;
};
if (runonce) 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];
statusChat 'Instantly Respawned';
_this call new_queued;
};
};
};
Tpup = {
_pos = player modeltoworld [0,0,4.5];
player setVehiclePosition [_pos, [], 0];
statusChat "Teleported Up One Floor";
};
Tpdown = {
_pos = player modeltoworld [0,0,-4];
player setVehiclePosition [_pos, [], 0];
statusChat "Teleported Down One Floor";
};
InsaneTP = {
disableSerialization;
closeDialog 0;
if (isNil "n211") then
{
n212 =
{
_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 ["Draw", "_this call n212"];
for "_i" from 0 to 9999 do
{
if (_i != 51) then
{
((findDisplay 12) displayCtrl _i) ctrlShow false;
};
};
};
InsaneTeleport =
{
_itemname = _this select 0;
itemname = _itemname;
_itemname2 = "Teleporting " + itemname;
["<t size='1.3' color='#00E0FD'>" + _itemname2 + "</t>",0,0,0,0,5] spawn changeme_drawit;
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man") && (typeOf _x == itemname)) then
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
_x setVelocity [0,0,20];
};
} forEach _entities;
};
ITEMMAGNET = {
_display2 = (findDisplay 156);
_control2 = _display2 displayCtrl 101;
_ESPBUtton1 = _display2 displayCtrl 102;
_ESPBUtton1 ctrlSetText "Scripts";
buttonSetAction[102,"[] spawn Insane_FillMainMenu"];
lbclear 101;
_control2 ctrlSetEventHandler ["LBDblClick", "[lbtext [101, (lbCurSel 101)]] spawn InsaneTeleport;"];
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 5;
_typeof;
_typeof = toString _typeof;
if ((_typeof != "land_") && (_typeof != "#crat") && (_typeof != "") && (_typeof != "#part")) then
{
_index = _control2 lbAdd format ["%1",typeOf _x ];
};
};
} forEach _entities;
lbsort _control2;
};
JunFunctions = {
disableSerialization;
_Jun_Display = (findDisplay 156);
_jun_editdisplay1 = _Jun_Display displayctrl 1002;
_jun_editdisplay2 = _Jun_Display displayctrl 1003;
_jun_editdisplay3 = _Jun_Display displayctrl 102;
_jun_editdisplay4 = _Jun_Display displayctrl 2;
_jun_editdisplay5 = _Jun_Display displayctrl 1;
_jun_editdisplay6 = _Jun_Display displayctrl 1104;
_jun_editdisplay4 ctrlshow false;
_jun_editdisplay5 ctrlshow false;
_jun_editdisplay6 ctrlshow true;
_jun_editdisplay6 ctrlsettext "";
ctrlSetText[1104,""];
ctrlSetText[1002,"Insane V4"];
ctrlSetText[1003,"Welcome Jцn"];
[] spawn Insane_FillMainMenu;
while{!isNull findDisplay(156)} do {
_jun_editdisplay2 ctrlsettextcolor [random 1,random 1, random 1,1];
_jun_editdisplay1 ctrlsettextcolor [random 1,random 1, random 1,1];
sleep .05
};
};
Insane_FillMainMenu = {
_display = (findDisplay 156);
_control = _display displayCtrl 101;
lbClear _control;
_jun_editdisplay3 = _display displayctrl 102;
_jun_editdisplay3 ctrlSetText "Players";
buttonSetAction[102,"[] call FillPlayers"];
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [101, (lbCurSel 101)]] spawn executescript;"];
_Insane_MainMenu = [
["======|MAJOR ESP|===========","","Sub"],
["","",""],
["NEW PLAYER ESP","NEW PLAYER ESP","LightBlue"],
["BODY ESP","BODY ESP","LightBlue"],
["VEHICLE ESP","VEHICLE ESP","LightBlue"],
["","",""],
["======|ESP|===========","","Sub"],
["","",""],
["ESP SUBMENU","ESP SUBMENU","Green"],
["","",""],
["======|MISC SCRIPTS|===========","","Sub"],
["","",""],
["EXECUTOR","EXECUTOR","LightBlue"],
["KEYBINDZ","KEYBINDZ","LightBlue"],
["ITEM MAGNET","ITEM MAGNET","LightBlue"],
["HIDE BUILDINGS","HIDE BUILDINGS","LightBlue"],
["MAP GRID SCAN","MAP GRID SCAN","LightBlue"],
["","",""],
["======|TARGET SCRIPTS|===========","","Sub"],
["","",""],
["VIEW GEAR","VIEW GEAR","LightBlue"],
["TELEPORT TO PLAYER","TELEPORT TO PLAYER","LightBlue"],
["FORCE PLAYER","FORCE PLAYER","LightBlue"]
];
if (isNil "Insane7_Toggle") then {Insane7_Toggle = [""];
};
for "_i" from 0 to (count _Insane_MainMenu)-1 do {
disableSerialization;
_Insane_Row = _Insane_MainMenu select _i;
_Insane_name = _Insane_Row select 0;
_Insane_fnc = _Insane_Row select 2;
_Insane_index = _control lbadd _Insane_name;
if (_Insane_fnc == "Title") then {lbSetColor [101, _Insane_index, [0, 0.7, 1, 1]];};
if (_Insane_fnc == "Sub") then {lbSetColor [101, _Insane_index, [0, 1, 0.7, 1]];};
if (_Insane_fnc == "") then {lbSetColor [101, _Insane_index, [1, 1, 1, 1] ];};
if (_Insane_fnc == "LightBlue") then {lbSetColor [101, _Insane_index, [0, 0.7, 1, 1]];};
if (_Insane_fnc == "Red") then {lbSetColor [101, _Insane_index, [0.9, 0.1, 0.3, 1]];};
if (_Insane_fnc == "Green") then {lbSetColor [101, _Insane_index, [0, 1, 0, 1]];};
if (_Insane_fnc == "Blue") then {lbSetColor [101, _Insane_index, [0, 0, 1, 1]];};
if (_Insane_fnc == "Cyan") then {lbSetColor [101, _Insane_index, [0.2, 0.9, 0.6, 1]];};
if (_Insane_fnc == "Highlight") then {lbSetColor [101, _Insane_index, [1, 0, 0, 1]];};
};
};
ESPMENU = {
_display1 = (findDisplay 156);
_control1 = _display1 displayCtrl 101;
_ESPBUtton1 = _display1 displayCtrl 102;
_ESPBUtton1 ctrlSetText "Scripts";
buttonSetAction[102,"[] spawn Insane_FillMainMenu"];
_control1 ctrlSetEventHandler ["LBDblClick", "[lbtext [101, (lbCurSel 101)]] spawn executescript;"];
_ESPItems = (findDisplay 156) displayCtrl 101;
lbClear _ESPItems;
_Insane_MainMenu2 = [
["======|MISC SCRIPTS|===========","","Sub"],
["","",""],
["FIREARMS","FIREARMS","LightBlue"],
["MAG ESP","MAG ESP","LightBlue"],
["LOOSE AMMO ESP","LOOSE AMMO ESP","LightBlue"],
["MEDICAL ESP","MEDICAL ESP","LightBlue"],
["BACKPACKS","BACKPACKS","LightBlue"],
["FOOD OF THE GODS","FOOD OF THE GODS","LightBlue"],
["FOOD AND DRINK ESP","FOOD AND DRINK ESP","LightBlue"]
];
if (isNil "Insane7_Toggle") then {Insane7_Toggle = [""];
};
for "_i" from 0 to (count _Insane_MainMenu2)-1 do {
disableSerialization;
_Insane_Row = _Insane_MainMenu2 select _i;
_Insane_name = _Insane_Row select 0;
_Insane_fnc = _Insane_Row select 2;
_Insane_index = _control1 lbadd _Insane_name;
if (_Insane_fnc == "Title") then {lbSetColor [101, _Insane_index, [0, 0.7, 1, 1]];};
if (_Insane_fnc == "Sub") then {lbSetColor [101, _Insane_index, [0, 1, 0.7, 1]];};
if (_Insane_fnc == "") then {lbSetColor [101, _Insane_index, [1, 1, 1, 1] ];};
if (_Insane_fnc == "LightBlue") then {lbSetColor [101, _Insane_index, [0, 0.7, 1, 1]];};
if (_Insane_fnc == "Red") then {lbSetColor [101, _Insane_index, [0.9, 0.1, 0.3, 1]];};
if (_Insane_fnc == "Green") then {lbSetColor [101, _Insane_index, [0, 1, 0, 1]];};
if (_Insane_fnc == "Blue") then {lbSetColor [101, _Insane_index, [0, 0, 1, 1]];};
if (_Insane_fnc == "Cyan") then {lbSetColor [101, _Insane_index, [0.2, 0.9, 0.6, 1]];};
if (_Insane_fnc == "Highlight") then {lbSetColor [101, _Insane_index, [1, 0, 0, 1]];};
};
};
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='#868A08'>" + _target2 + "</t>",0,0,0,0,5] spawn Drawit;
};
FillPlayers = {
_display = (findDisplay 156);
_control = _display displayCtrl 101;
lbClear _control;
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((name _x != "unknown entity") && (alive _x)) then
{
_jun_editdisplay3 = _display displayctrl 102;
_jun_editdisplay3 ctrlSetText "Scripts";
buttonSetAction[102,"[] call Insane_FillMainMenu"];
_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;
};
executescript = {
_scriptname = _this select 0;
if (_scriptname == "MAP GRID SCAN") then {
closeDialog 0;
for "_j" from 1 to 100 do
{
deleteMarkerLocal ("marker" + str(_j));
};
_insanevd = viewDistance;
_insanevd2 = objectviewdistance;
setViewDistance 1;
setobjectviewdistance 1;
setTerrainGrid 50;
_insanestart = [1000,2300,0];
_max = 15300;
_insanei = 1;
_u = 1;
_c = 0;
_insanearr = [];
_insanelocal = "camera" camCreate (getPos player);
_insanelocal cameraEffect ["INTERNAL", "BACK"];
statusChat "Scanning for Markers: this will take about 7-10 mins do not do not alt tab out.";
while {((_insanestart select 0 < _max)) && ((_insanestart select 1 < _max))} do
{
while {(_insanestart select 0 < _max)} do
{
_insanelocal = "camera" camCreate _insanestart;
_insanelocal cameraEffect ["INTERNAL", "BACK"];
sleep 0.01;
_insaneobj = (allMissionObjects "LandVehicle") + (allMissionObjects "Land_UH1Y_Wreck") + (allMissionObjects "Land_Mi8_Crashed") + (allMissionObjects "land_mh_60wreck");
_insaneobj1 = (entities "SurvivorBase");
_insaneobj2 = (allMissionObjects "TentMedium_Pitched") + (allMissionObjects "TentLarge_Pitched") + (allMissionObjects "Container_BarrelBase") + (allMissionObjects "tentlarge_backpack");
_insaneobj3 = (allMissionObjects "riflecore") + (allMissionObjects "m_cmag_40rnd") + (allMissionObjects "m_cmag_40rnd_green") + (allMissionObjects "m_cmag_40rnd_black") + (allMissionObjects "m65_jacket_khaki") + (allMissionObjects "m65_jacket_tan");
if (count _insaneobj != 0) then
{
{
if !((getPos _x) in _insanearr) then
{
_insanemark = createMarkerLocal ["marker" + str(_insanei), getPos _x];
_insanemark setMarkerTypeLocal "hd_objective";
_insanemark setMarkerColorLocal "ColorGreen";
_insanemark setMarkerSizeLocal [0.5, 0.5];
_insanemark setMarkerTextLocal (typeOf _x);
_insanei = _insanei + 1;
_insanearr set [count _insanearr, getPos _x];
};
} forEach _insaneobj;
};
if (count _insaneobj1 != 0) then
{
{
if !((getPos _x) in _insanearr) then
{
_insanemark1 = createMarkerLocal ["marker" + str(_insanei), getPos _x];
_insanemark1 setMarkerTypeLocal "hd_destroy";
_insanemark1 setMarkerColorLocal "ColorRed";
_insanemark1 setMarkerSizeLocal [0.5, 0.5];
_insanemark1 setMarkerTextLocal (Name _x);
_insanei = _insanei + 1;
_insanearr set [count _insanearr, getPos _x];
};
} forEach _insaneobj1;
};
if (count _insaneobj2 != 0) then
{
{
if !((getPos _x) in _insanearr) then
{
_insanemark2 = createMarkerLocal ["marker" + str(_insanei), getPos _x];
_insanemark2 setMarkerTypeLocal "hd_join";
_insanemark2 setMarkerColorLocal "ColorOrange";
_insanemark2 setMarkerSizeLocal [0.5, 0.5];
_insanemark2 setMarkerTextLocal (typeOf _x);
_insanei = _insanei + 1;
_insanearr set [count _insanearr, getPos _x];
};
} forEach _insaneobj2;
};
if (count _insaneobj3 != 0) then
{
{
if !((getPos _x) in _insanearr) then
{
_insanemark3 = createMarkerLocal ["marker" + str(_insanei), getPos _x];
_insanemark3 setMarkerTypeLocal "hd_join";
_insanemark3 setMarkerColorLocal "ColorBlue";
_insanemark3 setMarkerSizeLocal [0.5, 0.5];
_insanemark3 setMarkerTextLocal (typeOf _x);
_insanei = _insanei + 1;
_insanearr set [count _insanearr, getPos _x];
};
} forEach _insaneobj3;
};
camDestroy _insanelocal;
_insanestart = [(_insanestart select 0) + 1000, (_insanestart select 1), 0];
};
_insanestart = [1000, (_insanestart select 1) + 1000, 0];
sleep 0.01;
};
setViewDistance _insanevd;
setobjectviewdistance _insanevd2;
camDestroy _insanelocal;
player cameraEffect ["TERMINATE", "BACK"];
statusChat "Map Markers Added";
};
if (_scriptname == "FORCE PLAYER") then {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
_x PlayAction "ThrowPrepare";
};
} forEach _entities;
};
if (_scriptname == "HIDE BUILDINGS") then {
if (isnil ("Insane1111")) then
{
Insane1111 = 0;
};
if (Insane1111 == 0) then
{
statusChat "No Buildings ON";
Insane1111 = 1;
}
else
{
statusChat "No Buildings OFF";
Insane1111 = 0;
};
while {Insane1111 == 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 {Insane1111 == 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 == "ITEM MAGNET") then {
[] call ITEMMAGNET;
};
if (_scriptname == "BACKPACKS") then {
n312 =
{
if (isNil 'n311') then
{
n311 = 0;
};
if (n311 == 0) then
{
systemchat "BackPack ESP ON";
n311 = 1;
n315 = [];
while {n311 == 1} do
{
_entities = (allMissionObjects "BagBase");
{
if !(_x in n315) then {
n315 = n315 + [_x];
[_x] spawn n313;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
systemchat "BackPack ESP OFF";
n311 = 0;
};
};
n313 =
{
disableSerialization;
if (isNil 'n314') then
{
n314 = 2733;
};
n314 cutRsc ['rscDynamicText', 'PLAIN'];
n314 = n314 + 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 (n311 == 0) exitWith
{
n315 = n315 - [_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;
};
n315 = n315 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n312;
};
if (_scriptname == "FOOD OF THE GODS") then {
FotG732 =
{
if (isNil 'FotG731') then {FotG731 = 0;};
if (FotG731 == 0) then
{
statuschat "Food of The Gods ON";
FotG731 = 1;
FotG735 = [];
while {FotG731 == 1} do
{
_FotGent = (allMissionObjects "food_canpeaches_open") + (allMissionObjects "food_canpeaches") + (allMissionObjects "tool_canopener");
{
if !(_x in FotG735) then {
FotG735 = FotG735 + [_x];
[_x] spawn FotG733;
sleep 0.3;
};
} forEach _FotGent;
sleep 5;
};
} else {
statuschat "Food of The Gods OFF";
FotG731 = 0;
};
};
FotG733 =
{
disableSerialization;
if (isNil 'FotG734') then {FotG734 = 2733;};
FotG734 cutRsc ['rscDynamicText', 'PLAIN'];
FotG734 = FotG734 + 1;
_FotGctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_FotGctrl ctrlShow true; _FotGctrl ctrlEnable true; _FotGctrl ctrlSetFade 0;
_FotGunit = _this select 0;
while {(!isNull _FotGunit) && ((player distance _FotGunit) < 1000)} do
{
if (FotG731 == 0) exitWith {FotG735 = FotG735 - [_FotGunit];_FotGctrl ctrlShow false;_FotGctrl ctrlEnable false;};
_FotGpos = [(getPosATL _FotGunit) select 0, (getPosATL _FotGunit) select 1, ((getPosATL _FotGunit) select 2)];
_FotGpos2D = WorldToScreen _FotGpos;
if (count _FotGpos2D > 0) then
{
_FotGctrl ctrlSetPosition [(_FotGpos2D select 0) - (safezoneW / 2), (_FotGpos2D select 1), safezoneW, safezoneH];
_FotGtext = parseText format ["<t size='0.4' color='#890202'>%1 (%2m)</t>", typeOf _FotGunit, round (player distance _FotGunit)];
_FotGctrl ctrlSetStructuredText _FotGtext;
_FotGctrl ctrlCommit 0;
};
sleep 0.01;
};
FotG735 = FotG735 - [_FotGunit];
_FotGctrl ctrlShow false;
_FotGctrl ctrlEnable false;
};
[] spawn FotG732;
};
if (_scriptname == "ESP SUBMENU") then {
[] call ESPMENU;
};
if (_scriptname == "KEYBINDZ") then {
closedialog 0;
" Hipz - Insane V3
" hintC parsetext "
<t size='2'>KEYS:<t/>
<t size='1'><t/>
<t size='1'><t/>
<t size='1'><t/>
<t size='1'>T: SpeedHack<t/>
<t size='1'>Y: SpeedHack 2<t/>
<t size='1'>H: Menu<t/>
<t size='1'>M: Map<t/>
<t size='1'>Numpad 8: TP Up Some<t/>
<t size='1'>Numpad 2: TP Down Some<t/>
<t size='1'>Great Jun Has Arrived Again<t/>
<t size='1'><t/>
<t size='1'><t/>
<t size='1'><t/>
";
};
if (_scriptname == "FOOD AND DRINK ESP") then {
insanenothake13 =
{
if (isNil 'insanenothake11') then
{
insanenothake11 = 0;
};
if (insanenothake11 == 0) then
{
statusChat "Food and Drink ESP ON";
insanenothake11 = 1;
arr1 = [];
while {insanenothake11 == 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 insanenothake12;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
statusChat "Food and Drink ESP OFF";
insanenothake11 = 0;
};
};
insanenothake12 =
{
disableSerialization;
if (isNil 'insanenothake14') then
{
insanenothake14 = 2833;
};
insanenothake14 cutRsc ['rscDynamicText', 'PLAIN'];
insanenothake14 = insanenothake14 + 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 (insanenothake11 == 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.4' 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 insanenothake13;
};
if (_scriptname == "MEDICAL ESP") then {
insanenothake2 =
{
if (isNil 'insanenothake1') then
{
insanenothake1 = 0;
};
if (insanenothake1 == 0) then
{
statusChat "Medical ESP ON";
insanenothake1 = 1;
insanenothake5 = [];
while {insanenothake1 == 1} do
{
_entities = (allMissionObjects "MedicalItemBase");
{
if !(_x in insanenothake5) then
{
insanenothake5 = insanenothake5 + [_x];
[_x] spawn insanenothake3;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
statusChat "Medical ESP OFF";
insanenothake1 = 0;
};
};
insanenothake3 =
{
disableSerialization;
if (isNil 'insanenothake4') then
{
insanenothake4 = 2733;
};
insanenothake4 cutRsc ['rscDynamicText', 'PLAIN'];
insanenothake4 = insanenothake4 + 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 (insanenothake1 == 0) exitWith
{
insanenothake5 = insanenothake5 - [_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.4' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
insanenothake5 = insanenothake5 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn insanenothake2;
};
if (_scriptname == "LOOSE AMMO ESP") then {
insanenothake22 =
{
if (isNil 'insanenothake21') then
{
insanenothake21 = 0;
};
if (insanenothake21 == 0) then
{
statusChat "Ammo ESP ON";
insanenothake21 = 1;
insanenothake24 = [];
while {insanenothake21 == 1} do
{
_entities = (allMissionObjects "AmmunitionItemBase") + (allMissionObjects "AmmunitionBoxItemBase") + (allMissionObjects "ArrowsBase");
{
if !(_x in insanenothake24) then
{
insanenothake24 = insanenothake24 + [_x];
[_x] spawn insanenothake23;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
statusChat "Ammo ESP OFF";
insanenothake21 = 0;
};
};
insanenothake23 =
{
disableSerialization;
if (isNil 'insanenothake25') then
{
insanenothake25 = 2733;
};
insanenothake25 cutRsc ['rscDynamicText', 'PLAIN'];
insanenothake25 = insanenothake25 + 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 (insanenothake21 == 0) exitWith
{
insanenothake24 = insanenothake24 - [_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.4' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
insanenothake24 = insanenothake24 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn insanenothake22;
};
if (_scriptname == "MAG ESP") then {
insanenothake32 =
{
if (isNil 'insanenothake31') then
{
insanenothake31 = 0;
};
if (insanenothake31 == 0) then
{
statusChat "Ammo ESP ON";
insanenothake31 = 1;
insanenothake34 = [];
while {insanenothake31 == 1} do
{
_entities = (allMissionObjects "MagazineBase");
{
if !(_x in insanenothake34) then
{
insanenothake34 = insanenothake34 + [_x];
[_x] spawn insanenothake33;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
statusChat "Ammo ESP OFF";
insanenothake31 = 0;
};
};
insanenothake33 =
{
disableSerialization;
if (isNil 'insanenothake35') then
{
insanenothake35 = 2733;
};
insanenothake35 cutRsc ['rscDynamicText', 'PLAIN'];
insanenothake35 = insanenothake35 + 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 (insanenothake31 == 0) exitWith
{
insanenothake34 = insanenothake34 - [_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.4' color='#890202'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
insanenothake34 = insanenothake34 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn insanenothake32;
};
if (_scriptname == "VEHICLE ESP") then {
insanenothake42 =
{
if (isNil 'insanenothake41') then
{
insanenothake41 = 0;
};
if (insanenothake41 == 0) then
{
statusChat "Vehicle ESP ON";
insanenothake41 = 1;
insanenothake45 = [];
while {insanenothake41 == 1} do
{
_entities = (allMissionObjects "V3S_Cargo") + (allMissionObjects "v3s_cargo_blue") + (allMissionObjects "Car_DZ");
{
if !(_x in insanenothake45) then
{
insanenothake45 = insanenothake45 + [_x];
[_x] spawn insanenothake43;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
statusChat "Vehicle ESP OFF";
insanenothake41 = 0;
};
};
insanenothake43 =
{
disableSerialization;
if (isNil 'insanenothake44') then
{
insanenothake44 = 2733;
};
insanenothake44 cutRsc ['rscDynamicText', 'PLAIN'];
insanenothake44 = insanenothake44 + 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 (insanenothake41 == 0) exitWith
{
insanenothake45 = insanenothake45 - [_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.4' color='#7200FC'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
insanenothake45 = insanenothake45 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn insanenothake42;
};
if (_scriptname == "BODY ESP") then {
insanenothake51 =
{
tarDis2 = 1000;
if (isNil 'insanenothake53') then
{
insanenothake53 = 0;
};
if (insanenothake53 == 0) then
{
insanenothake53 = 1;
statusChat "Body ESP ON";
_a = [];
while {insanenothake53 == 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 insanenothake52;
sleep 1;
};
} forEach _entities;
sleep 10;
};
}
else
{
insanenothake53 = 0;
statusChat "Body ESP OFF";
};
};
insanenothake52 = {
disableSerialization;
if (isNil 'insanenothake54') then
{
insanenothake54 = 2733;
};
insanenothake54 cutRsc ['RscDynamicText', 'PLAIN'];
insanenothake54 = insanenothake54 + 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 (insanenothake53 == 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)
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 insanenothake51;
};
if (_scriptname == "VIEW GEAR") then {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
createGearDialog [(_x), "RscDisplayGear"];
};
} forEach _entities;
};
if (_scriptname == "NO MORE AMMO") then {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
_x setVehicleAmmo 0;
};
} forEach _entities;
};
if (_scriptname == "TELEPORT TO PLAYER") then {
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
_pos = getposatl _x;
player setpos _pos;
};
} forEach _entities;
};
if (_scriptname == "FIREARMS") then {
insanenothake62 =
{
if (isNil 'insanenothake61') then
{
insanenothake61 = 0;
};
if (insanenothake61 == 0) then
{
statusChat "Weapon ESP ON";
insanenothake61 = 1;
arr1 = [];
while {insanenothake61 == 1} do
{
_entities = (allMissionObjects "riflecore") + (allMissionObjects "ShotgunBase") + (allMissionObjects "pistolcore") + (allMissionObjects "FlashGrenade") + (allMissionObjects "GrenadeBase");
{
if !(_x in arr1) then
{
arr1 = arr1 + [_x];
[_x] spawn insanenothake63;
sleep 0.3;
};
} forEach _entities;
sleep 5;
};
}
else
{
statusChat "Weapon ESP OFF";
insanenothake61 = 0;
};
};
insanenothake63 =
{
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 (insanenothake61 == 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.4' 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 insanenothake62;
};
if (_scriptname == "EXECUTOR") then {
createDialog 'RscDisplayInsertMarker';
_Jun_Display3 = (findDisplay 54);
_jun_editdisplay90 = _Jun_Display3 displayctrl 2400;
_jun_editdisplay90 ctrlSetText "EXECUTE";
ctrlSetText[1001,"Jun's Executor"];
buttonSetAction[2400,"call compile (ctrlText 101);closedialog 0;"];
};
if (_scriptname == "NEW PLAYER ESP") then {
Insane912 =
{
if (isNil 'Insane911') then {Insane911 = 0;};
if (Insane911 == 0) then
{
statusChat "Player ESP ON";
Insane911 = 1;
_a = [];
while {Insane911 == 1} do
{
_entities = entities "SurvivorBase";
{
if ((_x in _a) && !(alive _x)) then {_a = _a - [_x];};
if ((_x != player) && !(_x in _a)) then
{
_a = _a + [_x];
[_x] spawn Insane913;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
statusChat "Player ESP OFF";
Insane911 = 0;
};
};
Insane913 =
{
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;
_hand = currentWeapon _unit;
if (_hand == "") then
{
_wName = typeof itemInHands _unit;
};
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if(_wName == "") then {
_wName = _hand;
};
while {(alive _unit) && !(isNull _unit)} do
{
if (Insane911 == 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;
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=''#00B3FF''>%1 (%2m) %3</t>', name _unit, round (player distance _unit), _wName];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn Insane912;
};
};
statusChat ["Dialog Loaded, Scripts Loaded, Press H To Begin","colorfriendly"];
runonce = false;
if (isNil "_init") then
{
_keys = (findDisplay 46) displayAddEventHandler [
"KeyDown",
"if ((_this select 1) == 35) then
{
[] spawn JunFunctions;
_dialog = createDialog 'RscDisplayAddonActions';
};
false;"];
};
};
Jun1997
Mizzle
Fonz
CH40S
FULL RELEASE - ENJOY - MAKE YOUR OWN
Edited by ThiagoRLX, 25 October 2015 - 03:13 AM.