Code:
if (isNil ("MenuRunOnce")) then
{
MenuRunOnce = 0;
};
if (MenuRunOnce == 0) then
{
Miz_Text_Height = 0.485; comment "Edit This Number to Adjust Intro Text Height.";
Miz_Run =
{
call Miz_KeyBinds;
call Miz_Scripts;
};
Miz_KeyBinds =
{
comment "Insert";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0xD2) then
{
call Miz_Turtle_Toggle;
}'];
comment "Space";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x39) then
{
call Miz_SpeedHakes;
}'];
comment "B";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x30) then
{
call Miz_ReverseSpeedHakes;
}'];
comment "Home";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0xC7) then
{
call Miz_Executor;
}'];
comment "BackSpace";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x0E) then
{
call Miz_ReSpawn;
}'];
comment "M";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x32) then
{
call Miz_Map;
}'];
comment "K";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x25) then
{
call MiZ_Original_ESP;
}'];
comment "O";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x18) then
{
call Miz_Fast_Anims;
}'];
comment "J";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x24) then
{
call Miz_No_Recoil;
}'];
comment "U";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x16) then
{
call Miz_FPS_Boost;
}'];
comment "Num8";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x48) then
{
call Miz_Floor_TP_Up;
}'];
comment "Num2";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x50) then
{
call Miz_Floor_TP_Down;
}'];
comment "Num0";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x52) then
{
call Miz_Break;
}'];
comment "Num1";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x4F) then
{
call Miz_UnderGround;
}'];
comment "Num3";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x51) then
{
call Miz_Time;
}'];
comment "Num Enter";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x9C) then
{
call Miz_Kill_Yourself;
}'];
comment "1";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x02) then
{
call Miz_Weapon_Magnet;
}'];
comment "2";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x03) then
{
call Miz_Ammo_Magnet;
}'];
comment "3";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x04) then
{
call Miz_Attachment_Magnet;
}'];
comment "4";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x05) then
{
call Miz_Food_Drink_Magnet;
}'];
comment "5";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x06) then
{
call Miz_Melee_Magnet;
}'];
comment "6";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x07) then
{
call Miz_Med_Magnet;
}'];
comment "7";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x08) then
{
call Miz_Vehicle_Parts_Magnet;
}'];
comment "8";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x09) then
{
call Miz_Repair_Magnet;
}'];
comment "9";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x0A) then
{
call Miz_Container_Magnet;
}'];
comment "Y";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x15) then
{
[] spawn MiZ_Map_Markers_Fast;
}'];
comment "N";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x31) then
{
call MiZ_Buildings;
}'];
};
Miz_Scripts =
{
MiZ_Map_Markers_Fast =
{
closeDialog 0;
createDialog "RscDisplayMainMap";
sleep 2;
for "_j" from 1 to 100 do
{
deleteMarkerLocal ("marker" + str(_j));
};
_MiZ_VD = viewDistance;
_MiZ_OVD = 1000;
setViewDistance 1;
setobjectviewdistance 1;
_MiZ_Start = [1000,2300,0];
_MiZ_max = 15300;
_MiZ_i = 1;
_MiZ_u = 1;
_MiZ_c = 0;
_MiZ_arr = [];
_MiZ_local = "camera" camCreate (getPos player);
_MiZ_local cameraEffect ["INTERNAL", "BACK"];
systemchat "Mizzle420420: Scanning Map for Markers, This May Take a Few Minutes";
sleep 2;
systemchat "Mizzle420420: It is Normal for a Map to Display while this Happens";
sleep 2;
systemchat "Mizzle420420: Do Not Alt-Tab or Leave the map, Stay in-game it will Close Automatically";
sleep 2;
systemchat "Mizzle420420: Stay in-game the map will Close Automatically";
sleep 2;
while {((_MiZ_Start select 0 < _MiZ_max)) && ((_MiZ_Start select 1 < _MiZ_max))} do
{
while {(_MiZ_Start select 0 < _MiZ_max)} do
{
_MiZ_local = "camera" camCreate _MiZ_Start;
_MiZ_local cameraEffect ["INTERNAL", "BACK"];
_MiZ_obj = (allMissionObjects "car");
_MiZ_obj1 = (entities "SurvivorBase");
_MiZ_obj2 = (allMissionObjects "TentMedium_Pitched") + (allMissionObjects "TentLarge_Pitched") + (allMissionObjects "tentcar_Pitched") + (allMissionObjects "tentmedium_packed") + (allMissionObjects "tentlarge_backpack") + (allMissionObjects "tentcar_packed");
_MiZ_obj3 = (allMissionObjects "Land_Mi8_Crashed") + (allMissionObjects "Land_UH1Y_Wreck") + (allMissionObjects "Land_Volha_police_DayZ");
if (count _MiZ_obj != 0) then
{
{
if !((getPos _x) in _MiZ_arr) then
{
_MiZ_mark = createMarkerLocal ["marker" + str(_MiZ_i), getPos _x];
_MiZ_mark setMarkerTypeLocal "hd_objective";
_MiZ_mark setMarkerColorLocal "ColorGreen";
_MiZ_mark setMarkerSizeLocal [0.5, 0.5];
_MiZ_mark setMarkerTextLocal (typeOf _x);
_MiZ_i = _MiZ_i + 1;
_MiZ_arr set [count _MiZ_arr, getPos _x];
};
} forEach _MiZ_obj;
};
if (count _MiZ_obj1 != 0) then
{
{
if !((getPos _x) in _MiZ_arr) then
{
_MiZ_mark1 = createMarkerLocal ["marker" + str(_MiZ_i), getPos _x];
_MiZ_mark1 setMarkerTypeLocal "hd_end";
_MiZ_mark1 setMarkerColorLocal "ColorRed";
_MiZ_mark1 setMarkerSizeLocal [0.5, 0.5];
_MiZ_mark1 setMarkerTextLocal (Name _x);
_MiZ_i = _MiZ_i + 1;
_MiZ_arr set [count _MiZ_arr, getPos _x];
};
} forEach _MiZ_obj1;
};
if (count _MiZ_obj2 != 0) then
{
{
if !((getPos _x) in _MiZ_arr) then
{
_MiZ_mark2 = createMarkerLocal ["marker" + str(_MiZ_i), getPos _x];
_MiZ_mark2 setMarkerTypeLocal "hd_dot";
_MiZ_mark2 setMarkerColorLocal "ColorOrange";
_MiZ_mark2 setMarkerSizeLocal [0.5, 0.5];
_MiZ_mark2 setMarkerTextLocal (typeOf _x);
_MiZ_i = _MiZ_i + 1;
_MiZ_arr set [count _MiZ_arr, getPos _x];
};
} forEach _MiZ_obj2;
};
if (count _MiZ_obj3 != 0) then
{
{
if !((getPos _x) in _MiZ_arr) then
{
_MiZ_mark3 = createMarkerLocal ["marker" + str(_MiZ_i), getPos _x];
_MiZ_mark3 setMarkerTypeLocal "hd_dot";
_MiZ_mark3 setMarkerColorLocal "ColorBlue";
_MiZ_mark3 setMarkerSizeLocal [0.5, 0.5];
_MiZ_mark3 setMarkerTextLocal (typeOf _x);
_MiZ_i = _MiZ_i + 1;
_MiZ_arr set [count _MiZ_arr, getPos _x];
};
} forEach _MiZ_obj3;
};
camDestroy _MiZ_local;
_MiZ_Start = [(_MiZ_Start select 0) + 1000, (_MiZ_Start select 1), 0];
_MiZ_percent = round((_MiZ_u / 15)*100);
if (_MiZ_percent != _MiZ_c) then
{
_MiZ_c = _MiZ_percent;
systemchat "Mizzle420420: Searching For Markers..";
};
};
_MiZ_u = _MiZ_u + 1;
_MiZ_Start = [1000, (_MiZ_Start select 1) + 1000, 0];
sleep 0.01;
};
setViewDistance _MiZ_VD;
setObjectViewDistance _MiZ_OVD;
camDestroy _MiZ_local;
player cameraEffect ["TERMINATE", "BACK"];
systemchat "Mizzle420420: Map Scan Finished";
closeDialog 0;
};
MiZ_Buildings =
{
if (isnil ("n1111")) then
{
n1111 = 0;
};
if (n1111 == 0) then
{
systemchat "Mizzle420420: No Buildings Activated";
n1111 = 1;
}
else
{
systemchat "Mizzle420420: No Buildings Deactivated";
n1111 = 0;
};
[] spawn
{
while {n1111 == 1} do
{
_MiZ_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 _MiZ_entities;
sleep 5;
};
while {n1111 == 0} do
{
_MiZ_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 _MiZ_entities;
sleep 5;
};
};
};
Miz_Container_Magnet =
{
_Miz_entities = (allMissionObjects "ContainerBase");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Container Magnet: Take Items into hands.";
};
Miz_Repair_Magnet =
{
_Miz_entities = (allMissionObjects "tool_sewingkit") + (allMissionObjects "tool_leathersewingkit") + (allMissionObjects "consumable_ducttape") + (allMissionObjects "tool_weaponcleaningkit");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Repair Magnet: Take Items into hands.";
};
Miz_Vehicle_Parts_Magnet =
{
_Miz_entities = (allMissionObjects "VehiclePartsBase");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Vehicle_Parts Magnet: Take Items into hands.";
};
Miz_Med_Magnet =
{
_Miz_entities = (allMissionObjects "MedicalItemBase");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Melee Weapon Magnet: Take Items into hands.";
};
Miz_Melee_Magnet =
{
_Miz_entities = (allMissionObjects "MeleeItemBase") + (allMissionObjects "Sword") + (allMissionObjects "KnifeBase");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Melee Weapon Magnet: Take Items into hands.";
};
Miz_Weapon_Magnet =
{
_Miz_entities = (allMissionObjects "riflecore") + (allMissionObjects "pistolcore") + (allMissionObjects "FlashGrenade") + (allMissionObjects "GrenadeBase");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Weapon Magnet: Take Weapon into hands.";
};
Miz_Attachment_Magnet =
{
_Miz_entities = (allMissionObjects "AttachmentBase");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Attachment Magnet: Take Items into hands.";
};
Miz_Ammo_Magnet =
{
_Miz_entities = (allMissionObjects "MagazineBase") + (allMissionObjects "AmmunitionItemBase") + (allMissionObjects "AmmunitionBoxItemBase") - (allMissionObjects "ArrowBase");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Ammo Magnet: Take Items into hands.";
};
Miz_Food_Drink_Magnet =
{
_Miz_entities = (allMissionObjects "DrinksItemBase") + (allMissionObjects "FoodItemBase");
{
_Miz_pos = getpos player;
_x setpos _Miz_pos;
} forEach _Miz_entities;
systemchat "Necromancy: Food and Drink Magnet: Take Items into hands.";
};
Miz_Executor =
{
createDialog 'RscDisplayInventoryNote';
ctrlSetText[1300,"Mizzle420420 SQF Executor"];
ctrlSetText[1600,"Execute"];
ctrlSettext[1601,"Clear"];
ctrlSetText[1400,profileNamespace getVariable ['TotallyNotAScriptExecuturHistory','']];
buttonSetAction[1600,"profileNamespace setVariable ['TotallyNotAScriptExecuturHistory',(ctrlText 1400)];call compile (ctrlText 1400)"];
buttonSetAction[1601,"ctrlSetText[1400,''];profileNamespace setVariable ['TotallyNotAScriptExecuturHistory','']"];
};
Miz_UnderGround =
{
_Miz_pos = player modeltoworld [0,0,-50000];
player setVehiclePosition [_Miz_pos, [], 0];
systemchat "Necromancy: You Are Invisible and UnderGround, Speed Hack to Return to Surface";
};
Miz_ReSpawn =
{
{respawn = _x;publicVariableServer "respawn";} forEach (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
systemchat "Mizzle420420: Respawned Unconscious Near Players";
};
Miz_Kill_Yourself =
{
_Miz_pos = player modeltoworld [0,0,30];
player setVehiclePosition [_Miz_pos, [], 0];
titleText ["You Are Dead", "PLAIN", 1];
};
Miz_Floor_TP_Up =
{
_Miz_pos = player modeltoworld [0,0,4.5];
player setVehiclePosition [_Miz_pos, [], 0];
systemchat "Necromancy: Teleported Up One Floor";
};
Miz_Floor_TP_Down =
{
_Miz_pos = player modeltoworld [0,0,-4];
player setVehiclePosition [_Miz_pos, [], 0];
systemchat "Necromancy: Teleported Down One Floor";
};
Miz_SpeedHakes =
{
_pos = player modeltoworld [0,0.65,0];
player setVehiclePosition [_pos, [], 0];
};
Miz_ReverseSpeedHakes =
{
_pos = player modeltoworld [0,-0.65,0];
player setVehiclePosition [_pos, [], 0];
};
Miz_Map =
{
disableSerialization;
closeDialog 0;
if (isNil "n211") then
{
n211 =
{
};
n212 =
{
_Miz_ctrl = _this select 0;
{
_Miz_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 _Miz_ctrl) max 0.2)*30, ((1 - ctrlMapScale _Miz_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 n211"];
_map ctrlAddEventHandler ["Draw", "_this call n212"];
for "_i" from 0 to 9999 do
{
if (_i != 51) then
{
((findDisplay 12) displayCtrl _i) ctrlShow false;
};
};
};
MiZ_Original_ESP =
{
MiZ_Original_ESP_Main = {
if (isNil 'MiZ_Original_ESP_Toggle') then {MiZ_Original_ESP_Toggle = 0;};
if (MiZ_Original_ESP_Toggle == 0) then
{
hint "Player ESP ON";
MiZ_Original_ESP_Toggle = 1;
while {MiZ_Original_ESP_Toggle == 1} do
{
_entities = allMissionObjects "SurvivorBase" - [cameraon];
{
if (_x != player) then
{
[_x] spawn MiZ_Original_ESP_Draw;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Player ESP OFF";
MiZ_Original_ESP_Toggle = 0;
};
};
MiZ_Original_ESP_Draw = {
disableSerialization;
if (isNil 'MiZ_Original_ESP_Draw_Toggle') then {MiZ_Original_ESP_Draw_Toggle = 2733;};
MiZ_Original_ESP_Draw_Toggle cutRsc ['rscDynamicText', 'PLAIN'];
MiZ_Original_ESP_Draw_Toggle = MiZ_Original_ESP_Draw_Toggle + 1;
_MiZ_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_MiZ_ctrl ctrlShow true; _MiZ_ctrl ctrlEnable true; _MiZ_ctrl ctrlSetFade 0;
_MiZ_unit = _this select 0;
_MiZ_Name_Unit = name _MiZ_unit;
_MiZ_GUID = (getplayeruid (_MiZ_unit));
while {(alive _MiZ_unit) && !(isNull _MiZ_unit)} do
{
if (MiZ_Original_ESP_Toggle == 0) exitWith {_MiZ_ctrl ctrlShow false;_MiZ_ctrl ctrlEnable false;};
_MiZ_pos = [(getPosATL _MiZ_unit) select 0, (getPosATL _MiZ_unit) select 1, ((getPosATL _MiZ_unit) select 2) + 2];
_MiZ_pos2D = WorldToScreen _MiZ_pos;
if (count _MiZ_pos2D > 0) then
{
_MiZ_ctrl ctrlSetPosition [(_MiZ_pos2D select 0) - (safezoneW / 2), (_MiZ_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['<t size=''0.4'' color=''#FFFFFF''>%1 (%2m)</t>', _MiZ_Name_Unit, round (player distance _MiZ_unit)];
_MiZ_ctrl ctrlSetStructuredText _text;
_MiZ_ctrl ctrlCommit 0;
};
sleep 0.01;
};
_MiZ_ctrl ctrlShow false;
_MiZ_ctrl ctrlEnable false;
};
[] spawn MiZ_Original_ESP_Main;
};
Miz_Fast_Anims =
{
if (isnil ("FastAnimations")) then
{
FastAnimations = 0;
};
if (FastAnimations==0) then
{
FastAnimations=1;
systemchat "Mizzle420420: Fast Animations Activated";
playeraction "playerinjuredl";
}
else
{
systemchat "Mizzle420420: Fast Animations Deactivated";
playeraction "playerhealthy";
FastAnimations=0;
};
};
Miz_No_Recoil =
{
if (isNil ("n201")) then
{
n201=0;
};
if (n201==0) then
{
player setUnitRecoilCoefficient 0;
systemchat "Mizzle420420: No Recoil Activated";
n201=1;
}
else
{
player setUnitRecoilCoefficient 1;
n201=0;
systemchat "Mizzle420420: No Recoil Deactivated";
};
while (n201==0) do
{
};
};
Miz_FPS_Boost =
{
if (isNil ("FPS_Boost1")) then
{
FPS_Boost1 = 0;
};
if (FPS_Boost1==0) then
{
setViewDistance 400;
setObjectViewDistance 800;
setTerrainGrid 50.0;
systemchat "Mizzle420420: FPS Boost / No Grass Activated";
FPS_Boost1=1;
}
else
{
setViewDistance 1500;
setObjectViewDistance 1000;
setTerrainGrid 12.5;
systemchat "Mizzle420420: FPS Boost / No Grass Deactivated";
FPS_Boost1=0;
};
};
Miz_NightLight =
{
if (isNil "n171") then
{
n171 = true;
};
if (n171) then
{
n172 = "#lightpoint" createVehicleLocal getpos player;
n172 setLightBrightness 9;
n172 setLightAmbient[15, 15, 15];
n172 setLightColor[.4, 1, 0];
n172 lightAttachObject [player, [0,0,15]];
n171 = false;
systemchat "Mizzle420420: Night Light Activated";
}
else
{
deleteVehicle n172;
n171 = true;
systemchat "Mizzle420420: Night Light Deactivated";
};
};
Miz_Break =
{
actionReleased = player;
publicVariableServer 'actionReleased';
player setCaptive false;
player playAction "cancelAction";
systemchat "Mizzle420420: Broke Free";
};
Miz_Time =
{
if (isNil ("n16123")) then
{
n16123 = 0;
};
if (n16123 == 0) then
{
systemchat 'Mizzle420420: Time Day / Clear Weather Activated';
n16123 = 1;
}
else
{
systemchat 'Mizzle420420: Time Day / Clear Weather Deactivated';
n16123 = 0;
};
while {n16123 == 1} do
{
0 setrain 0;
0 setOvercast 0;
0 setFog 0;
setDate [2420, 22, 7, 14, 0];
sleep 4;
};
};
};
[] spawn
{
0 cutRsc['RscTitleStructuredText', 'PLAIN'];
_display = uinamespace getvariable['RscTitleStructuredText', displaynull];
_ctrl = _display displayctrl 9999;
_ctrl ctrlShow true;
_ctrl ctrlEnable true;
_ctrl ctrlSetFade 0;
_x = safezonex;
_y = safezoney;
_y = _y + Miz_Text_Height;
_w = safezonew;
_h = safezoneH;
_ctrl ctrlSetPosition[_x, _y, _w, _h];
_ctrl ctrlSetStructuredText parseText "<t color='#890202'>Welcome to</t> <t color='#8DFF00'>Key Bind Menu v3.5</t>";
_ctrl ctrlcommit 0;
uiSleep 4;
0 cutRsc['RscTitleStructuredText', 'PLAIN'];
_display = uinamespace getvariable['RscTitleStructuredText', displaynull];
_ctrl = _display displayctrl 9999;
_ctrl ctrlShow true;
_ctrl ctrlEnable true;
_ctrl ctrlSetFade 0;
_x = safezonex;
_y = safezoney;
_y = _y + Miz_Text_Height;
_w = safezonew;
_h = safezoneH;
_ctrl ctrlSetPosition[_x, _y, _w, _h];
_ctrl ctrlSetStructuredText parseText "<t color='#890202'>Credits:</t><t color='#8DFF00'> Mizzle420420</t>";
_ctrl ctrlcommit 0;
uiSleep 4;
_Miz_Wait = 1;
waituntil {_Miz_Wait == 1};
while {true} do
{
Miz_P_Array = [];
Miz_V_Array = [];
Miz_H_Array = [];
Miz_Z_Array = [];
Miz_B_Array = [];
_Miz_entities = (allMissionObjects "SurvivorBase");
{
if ((!(alive _x) && (name _x == "UnKnown Entity")) or ((_x in Miz_B_Array))) then {Miz_P_Array = Miz_P_Array - [_x];};
if (_x != player) then
{
Miz_P_Array = Miz_P_Array + [_x];
};
} foreach _Miz_entities;
_Miz_entities = (allMissionObjects "ZombieBase");
{
if (_x != player) then
{
Miz_Z_Array = Miz_Z_Array + [_x];
};
} foreach _Miz_entities;
_Miz_entities = (allMissionObjects "SurvivorBase");
{
if (((_x in Miz_B_Array) && (alive _x)) or ((_x in Miz_B_Array))) then {Miz_B_Array = Miz_B_Array - [_x];};
if ((_x != player) && (name _x != '') && !(_x in Miz_B_Array) && (name _x == "UnKnown Entity")) then
{
Miz_B_Array = Miz_B_Array + [_x];
};
} forEach _Miz_entities;
_Miz_entities = (allMissionObjects "V3S_Cargo") + (allMissionObjects "V3S_Chassis");
{
if (_x != player) then
{
Miz_V_Array = Miz_V_Array + [_x];
};
} forEach _Miz_entities;
tardis2 = 1000;
_Miz_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if (((_x in _a)) or ((_x in _a) && ((positionCameraToWorld [0,0,0] distance _x) > tardis2))) then {_a = _a - [_x];};
if ((typeof _x == "land_mh_60wreck") or (typeof _x == "Land_Mi8_Crashed") or (typeof _x == "Land_UH1Y_Wreck") && ((positionCameraToWorld [0,0,0] distance _x) <= tardis2)) then
{
Miz_H_Array = Miz_H_Array + [_x];
};
} forEach _Miz_entities;
_Miz_unit = vehicle player;
_Miz_ammo = (_Miz_unit ammo (currentWeapon _Miz_unit));
_Miz_hand = currentWeapon _Miz_unit;
_Miz_wName = getText(configFile >> "cfgWeapons" >> _Miz_hand >> "displayName");
if (_Miz_hand == "") then
{
_Miz_hand = typeof itemInHands _Miz_unit;
};
if (_Miz_wName == "") then
{
_Miz_wName = _Miz_hand;
};
if (_Miz_wName == "") then
{
_Miz_wName = "None";
_Miz_ammo = "No Weapon";
};
_Miz_dir = getDir player;
_Miz_bearing = round (_Miz_dir);
_Miz_heading = "";
if ((_Miz_dir >= 337.5) || (_Miz_dir < 22.5)) then {_Miz_heading = "N";};
if ((_Miz_dir >= 292.5) && (_Miz_dir < 337.5)) then {_Miz_heading = "NW";};
if ((_Miz_dir >= 247.5) && (_Miz_dir < 292.5)) then {_Miz_heading = "W";};
if ((_Miz_dir >= 202.5) && (_Miz_dir < 247.5)) then {_Miz_heading = "SW";};
if ((_Miz_dir >= 157.5) && (_Miz_dir < 202.5)) then {_Miz_heading = "S";};
if ((_Miz_dir >= 112.5) && (_Miz_dir < 157.5)) then {_Miz_heading = "SE";};
if ((_Miz_dir >= 67.5) && (_Miz_dir < 112.5)) then {_Miz_heading = "E";};
if ((_Miz_dir >= 22.5) && (_Miz_dir < 67.5)) then {_Miz_heading = "NE";};
_Miz_gps = mapGridPosition _Miz_unit;
_Miz_FPS =(round diag_FPS);
hintSilent parseText format
["
<t size='0.8' align='Center' color='#8DFF00'>Mizzle420420</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>In Hands: </t> <t size='0.7' align='Right' color='#8DFF00'> %1</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Ammo in Mag: </t> <t size='0.7' align='Right' color='#8DFF00'> %2</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>FPS: </t> <t size='0.7' align='Right' color='#8DFF00'> %14</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>GPS: </t> <t size='0.7' align='Right' color='#8DFF00'> %15</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Compass: </t> <t size='0.7' align='Right' color='#8DFF00'> %16</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Bearing: </t> <t size='0.7' align='Right' color='#8DFF00'> %17</t>
<br/>
<br/>
<t size='0.8' align='Left' color='#8DFF00'>KeyBinds:</t>
<br/>
<br/>
<t size='0.7' align='Left' color='#A90000'>Home: </t> <t size='0.7' align='Right' color='#8DFF00'> Executor</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>BackSpace: </t> <t size='0.7' align='Right' color='#8DFF00'> Respawn Players</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Space: </t> <t size='0.7' align='Right' color='#8DFF00'> SpeedHakes</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>B: </t> <t size='0.7' align='Right' color='#8DFF00'> Re-SpeedHakes</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>N: </t> <t size='0.7' align='Right' color='#8DFF00'> No Buildings</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Y: </t> <t size='0.7' align='Right' color='#8DFF00'> Map Markers</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>M: </t> <t size='0.7' align='Right' color='#8DFF00'> Map</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>K: </t> <t size='0.7' align='Right' color='#8DFF00'> ESP</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>O: </t> <t size='0.7' align='Right' color='#8DFF00'> Fast_Actions</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>J: </t> <t size='0.7' align='Right' color='#8DFF00'> No_Recoil</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>U: </t> <t size='0.7' align='Right' color='#8DFF00'> FPS_Boost</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Num0: </t> <t size='0.7' align='Right' color='#8DFF00'> Break_HandCuffs</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Num1: </t> <t size='0.7' align='Right' color='#8DFF00'> UnderGround</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Num3: </t> <t size='0.7' align='Right' color='#8DFF00'> Time Day</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>Num2 and Num8: </t> <t size='0.7' align='Right' color='#8DFF00'> TP Down or Up</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>NumEnter: </t> <t size='0.7' align='Right' color='#8DFF00'> Suicide</t>
<br/>
<t size='0.7' align='Left' color='#A90000'>1-9: </t> <t size='0.7' align='Right' color='#8DFF00'> Magnets</t>
",
_Miz_wName,
_Miz_ammo,
_Miz_IsBleeding,
_Miz_health,
_Miz_blood,
_Miz_shock,
_Miz_temp,
_Miz_heat,
(count Miz_P_Array),
(count Miz_Z_Array),
(count Miz_B_Array),
(count Miz_V_Array),
(count Miz_H_Array),
_Miz_FPS,
_Miz_gps,
_Miz_heading,
_Miz_bearing
];
};
};
[]spawn
{
sleep 10;
While {true} do
{
_Miz_unit = vehicle player;
_Miz_blood = round(((_Miz_unit getVariable['blood',0])/5000)*100);
_Miz_health = round(((_Miz_unit getVariable['health',0])/5000)*100);
_Miz_shock = round(((_Miz_unit getVariable['shock',0])/5000)*100);
_Miz_temp = round(((_Miz_unit getVariable['bodytemperature',0])/100)*100);
_Miz_heat = round(((_Miz_unit getVariable['heatcomfort',0])/100)*100);
_Miz_BloodType = (_Miz_unit getVariable['bloodType',0]);
_Miz_IsBleeding = "No";
if ((_Miz_unit getVariable['bleedingLevel',0]) > 0) then
{
_Miz_IsBleeding = "Yes";
};
0 cutRsc ['RscTitleStructuredText', 'PLAIN'];
_Miz_display = uinamespace getvariable ['RscTitleStructuredText',displaynull];
_Miz_ctrl = _Miz_display displayctrl 9999;
_Miz_ctrl ctrlShow true;
_Miz_ctrl ctrlEnable true;
_Miz_ctrl ctrlSetFade 0;
_Miz_ctrl ctrlSetPosition [safezonex,safezoney,safezonew,safezoneH];
_Miz_text = parseText format ['<t size=''0.6'' color=''#8DFF00''> [Health: %2%] [Blood: %3%] [Bleeding: %10%] [Shock: %4%] [BodyTemp: %5%] [HeatComfort: %6%] <br/> [Players: %13%] [Zombies: %14%] [Bodies: %15%] [Vehicles: %16%] [Crashes: %17%]</t>', name _Miz_unit,_Miz_health,_Miz_blood,_Miz_shock,_Miz_temp,_Miz_heat,_Miz_wName,_Miz_gps,_Miz_ammo,_Miz_IsBleeding,_Miz_heading,_Miz_bearing,(count Miz_P_Array),(count Miz_Z_Array),(count Miz_B_Array),(count Miz_V_Array),(count Miz_H_Array)];
_Miz_ctrl ctrlSetStructuredText _Miz_text;
_Miz_ctrl ctrlcommit 0;
uisleep 1.5;
};
};
call Miz_Run;
systemchat "Mizzle420420: KeyBind Menu Loaded";
};
closedialog 0;
MenuRunOnce = 1;