Hellitself Menu v2 Dayz SA

Posts 115 of 23 · Page 1 of 2
Hellitself Menu v2 Dayz SA
Hello everybody
this is full rework for my panel "Lystical Menu Hellitself edition v1"
whats new:-
speedhack
esp everything
UI rework
3 more sections in panel
tp up/down
map
refill gas
morphine
disarm all
player shield
zombie shield
item magnet
and alot more.

note* this been tested and working 100% on 0.49-0.58 cracked servers only. i cant guarantee it would work or be undetected on official.

Code:
scriptName "Functions\initFunctions.sqf";

#define VERSION	3.0

call compile preprocessFileLineNumbers "dz\modulesDayz\init.sqf";

if (getnumber (configfile >> "CfgFunctions" >> "version") != VERSION) exitwith {
	textlogformat [
		"Log: ERROR: Functions versions mismatch - config is %1, but script is %2",
		getnumber (configfile >> "CfgFunctions" >> "version"),
		VERSION
	];
};

_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};

diag_log "what";


new_queued = compile preprocessFileLineNumbers "\dz\modulesDayZ\scripts\player_queued.sqf";
[] spawn {
	_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
	if(!isNil "menu") exitWith {diag_log "menu already ran";};
	menu = true;
	diag_log "GO";
	[] spawn {
		_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
		while{true} do {
			waitUntil{!(isNil "clientReady")};
			PLAYER_ID = clientReady;
		};
	};
	[] spawn {
		_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
		diag_log "instant respawn started";
		while{true} do {
			player_queued = {
				_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
				_id = _this select 0;
				_this set[6,0]; //disable delay
				hint 'respawning you instantly!';
				_this call new_queued;
			};
		};
	};
	diag_log "menu init";
	
	[] spawn {
		_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
		kk_fnc_inString = {
			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
			private ["_needle","_haystack","_needleLen","_hay","_found"];
			_needle = [_this, 0, "", [""]] call BIS_fnc_param;
			_haystack = toArray ([_this, 1, "", [""]] call BIS_fnc_param);
			_needleLen = count toArray _needle;
			_hay = toArray ([_this, 1, "", [""]] call BIS_fnc_param);
			_hay resize _needleLen;
			_found = false;
			for "_i" from _needleLen to count _haystack do {
			    if (toString _hay == _needle) exitWith {_found = true};
			    _hay set [_needleLen, _haystack select _i];
			    _hay set [0, "x"];
			    _hay = _hay - ["x"]
			};
			_found
		};

		W34p0ns = [];
		F0od_Dr1nk = [];
		M3d1c4l = [];
		T0ol_it3ms = [];
		amm0 = [];
		It3m5 = [];
		Att4chm3nt = [];
		Cl0th1ng = [];
		B4ckp4cks = [];
	    A11 = [];
	};
	waitUntil{!isNull player};
	waitUntil{alive player};
	diag_log 'player found';
	
	players = [];
	whitelist = [];

	['Anti-BlackScreen & DisabledInput'] spawn {
		_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
		while{true} do {
			disableuserinput false;
			titleText ["", "PLAIN", 2];
			titleFadeOut 0.1;
			setAperture -1;
			0 fadeSound 1;
			0 fadeSpeech 1;
			0 fadeRadio 1;
		};
	};
	_menu  = {
		_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
		['Maintain Player List'] spawn {
			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
			while{true} do {
				_players = player nearEntities ["SurvivorBase",1000];
				players = _players;
				sleep 10;
			};
		};
		['Overhead Advert'] spawn {
			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
			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 ctrlsettextcolor [0,1,1,1];
				_ctrl ctrlSetPosition [safezonex,safezoney,safezonew,safezoneH]; 
				_ctrl ctrlSetStructuredText parseText "<t color='#00FFFF'> Hellitself Menu</t>"; 
				_ctrl ctrlcommit 0; 
				uiSleep 9;
			};
		};
		['Variables'] call {
			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    		toggle_1 = false;
    		toggle_5 = false;
    		toggle_6 = false;
    		toggle_2 = false;
    		toggle_3 = false;
    		toggle_4 = false;
    		toggle_7 = false;
    		toggle_8 = false;
    		toggle_9 = false;
    		toggle_10 = false;
    		toggle_11 = false;
    		toggle_12 = false;
    		toggle_13 = false;
                toggle_14 = false;
                toggle_15 = false;
                toggle_FPS = false;
                backpack_es_toggle = false;
                headgear_es_toggle = false;
                topwear_es_toggle = false;
                bottomwear_es_toggle = false;
                footwear_es_toggle = false;
                vest_es_toggle = false;
                gloves_es_toggle = false;
                weapons_es_toggle = false;
                attachment_es_toggle = false;
                ammo_es_toggle = false;
                melee_es_toggle = false;
                medical_es_toggle = false;
                tent_es_toggle = false;
                Cloth_es_toggle = false;
                RefillGas_toggle = false;
                Car_es_toggle = false;
                Disarmall_toggle = false;
                DeadBodies_es_toggle = false;
                SpeedA_toggle = false;
                SpeedB_toggle = false;
                SpeedC_toggle = false;
    		reknearplayers_toggle = false;
    		dayz_esp_toggle = false;
    		dayz_esp_toggle_z = false;
    		dayz_esp_toggle_heli = false;
    		super_punch_toggle = false;
    		super_punch_toggle_gernade = false;
                super_punch_toggle_bullets = false;
    		remove_dayzed_toggle = false;
    		remove_restrained_toggle = false;
    		remove_rainCheck_toggle = false;
    		nofall_toggle = false;
    		fly_toggle = false;
            magnet_running = 0;
            devlist = ["kegan","lystic"];
	    	whitelist = devlist;
		};
		['Scripties'] call {
			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
		    reknearplayers = {
        		_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
        		if(reknearplayers_toggle) then {hint 'Rek Players ON';} else {hint 'Rek Players OFF';};
        		while{reknearplayers_toggle} do {
        			_targets =  players - [player];
        			{
        				if (lifeState _x == "ALIVE") then {
        					uiSleep 0.5;
    					        _pos = _x modelToWorld [0,0,2];
    					        _bullet = "GrenadeCore" createvehiclelocal _pos;
						_bullet setVelocity [0,0,-50000];
						uiSleep 0.1;
        				}
        			} forEach _targets;
        		};
		    };
    		killtarget = {
    			_name = _this select 0;
    			{
    				if(name _x == _name) then {
    					uiSleep 0.5;
    					_pos = _x modelToWorld [0,0,2];
    					_bullet = "GrenadeCore" createvehiclelocal _pos;
						_bullet setVelocity [0,0,-50000];
						uiSleep 0.1;	
    				};
    			} forEach players;
    		};
    		nofall = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			while{nofall_toggle} do {
    				_veh = velocity player;
    				_z = _veh select 2;
    				if(_z < -2 && !(isTouchingGround player)) then {_veh set[2,0];player setVelocity _veh;};
    			};
    		};
    		super_punch = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(super_punch_toggle) then {
    				super_punch_event =	(findDisplay 46) displayAddEventHandler ["KeyDown",'
    					if((_this select 1) == 41) then {
    						_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    						_pos = player modelToWorld [0,2,1.5];
    						_bullet = "MeleeFist" createvehiclelocal _pos;
    						_dir = eyeDirection player;
    						_dir2 = [(_dir select 0)*5000,(_dir select 1)*5000,(_dir select 2)*5000];
    						_bullet setVelocity _dir2;
    					};
    				'];
    				hint "Super Punch ON (hold ~ to activate)";
    			} else {
    				(findDisplay 46) displayRemoveEventHandler ["KeyDown",super_punch_event];
    				hint "Super Punch OFF";
    			};
    		};
    		super_punch_gernade = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(super_punch_toggle_gernade) then {
    				super_punch_event =	(findDisplay 46) displayAddEventHandler ["KeyDown",'
    					if((_this select 1) == 41) then {
    						_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    						_pos = player modelToWorld [0,2,1.5];
    						_bullet = "GrenadeCore" createvehiclelocal _pos;
    						_dir = eyeDirection player;
    						_dir2 = [(_dir select 0)*5000,(_dir select 1)*5000,(_dir select 2)*5000];
    						_bullet setVelocity _dir2;
    					};
    				'];
    				hint "Super Punch ON (hold ~ to activate)";
    			} else {
    				(findDisplay 46) displayRemoveEventHandler ["KeyDown",super_punch_event];
    				hint "Super Punch OFF";
    			};
    		};
                super_punch_bullets = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(super_punch_toggle_bullets) then {
    				super_punch_event =	(findDisplay 46) displayAddEventHandler ["KeyDown",'
    					if((_this select 1) == 41) then {
    						_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    						_pos = player modelToWorld [0,2,1.5];
    						_bullet = "B_762x51_Ball" createvehiclelocal _pos;
    						_dir = eyeDirection player;
    						_dir2 = [(_dir select 0)*5000,(_dir select 1)*5000,(_dir select 2)*5000];
    						_bullet setVelocity _dir2;
    					};
    				'];
    				hint "Super Punch ON (hold ~ to activate)";
    			} else {
    				(findDisplay 46) displayRemoveEventHandler ["KeyDown",super_punch_event];
    				hint "Super Punch OFF";
    			};
    		};
    		remove_dayzed = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(remove_dayzed_toggle) then {
    				"effectDazed" addPublicVariableEventhandler {};
    				hint 'Dazed Effect Removed';
    			} else {
    				"effectDazed" addPublicVariableEventhandler {
    					call dayz_bulletHit;
    					effectDazed = false;
    				};
    				hint 'Dazed Effect Added';
    			};
    		};
    		remove_rainCheck = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(remove_rainCheck_toggle) then {
    				rainCheck_bak = rainCheck;
    				rainCheck = {};
    				hint 'Rain Check Removed';
    			} else {
    				rainCheck = rainCheck_bak;
    				hint 'Rain Check Added';
    			};
    		};
    		dayz_esp_3 = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			_activationDistance = 800; 
    			_drawESP = {
    				_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    				disableserialization;
    				_target = _this select 0;
    				_maxDistance = _this select 1;
    				_layer = _this select 2;
    
    				_timeToReplace = time + 9;
    
    				_layer cutRsc ['RscTitleStructuredText', 'PLAIN'];
    				_display = uinamespace getvariable ['RscTitleStructuredText',displaynull];
    				_ctrl = _display displayctrl 9999;
    				_ctrl ctrlShow true; 
    				_ctrl ctrlEnable true; 
    				_ctrl ctrlSetFade 0; 
    				while{dayz_esp_toggle_z} do {
    					_distance = player distance _target;
    					if((_distance > _maxDistance) || !(alive _target)) exitWith {};
    
    					if(time > _timeToReplace) then {
    						_timeToReplace = time + 9;
    						_layer cutRsc ['RscTitleStructuredText', 'PLAIN'];
    						_display = uinamespace getvariable ['RscTitleStructuredText',displaynull];
    						_ctrl = _display displayctrl 9999;
    						_ctrl ctrlShow true; 
    						_ctrl ctrlEnable true; 
    						_ctrl ctrlSetFade 0; 
    					};
    					_pos = [(getPosATL _target) select 0, (getPosATL _target) select 1, ((getPosATL _target) select 2) + 2];
    					_pos2D = WorldToScreen _pos;
    					_health = round((damage _target)*100);
    					if (count _pos2D > 0) then
    					{
    						_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
    						_text = parseText format ['<t size=''0.40'' color=''#FF0000''>%1 (%2m) [HP: %3%]', "Zombie", round (player distance _target),_health];
    						_ctrl ctrlSetStructuredText _text;
    						_ctrl ctrlCommit 0;
    					};
    					uiSleep 0.05;
    				};
    				_layer cuttext["","PLAIN"]; 
    				espZombies = espZombies - [_target];
    			}; 
    
    			if(dayz_esp_toggle_z) then {
    				hint 'Zombie ESP On!';
    			} else {
    				hint 'Zombie ESP Off!';
    			};
    
    			_layer = 3000;
    			_nearZombies = [];
    			espZombies = [];
    			_activationDistance = _activationDistance min 800;
    			while{dayz_esp_toggle_z} do {
    				_nearZombies = (getpos player) nearObjects ["ZombieBase",850];
    				{
    					if(alive _x) then { 
    						_distance = player distance _x;
    						if(_distance < _activationDistance) then {
    							if !(_x in espZombies) then { 
    								espZombies = espZombies + [_x]; 
    								[_x,_activationDistance,_layer] spawn _drawESP;
    								_layer = _layer + 1;
    							};
    						};
    					};
    				} forEach _nearZombies;
    			};
    		};
    		dayz_esp_2 = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			_activationDistance = 800; 
    			_drawESP = {
    				_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    				disableserialization;
    				_target = _this select 0;
    				_maxDistance = _this select 1;
    				_layer = _this select 2;
    
    				_timeToReplace = time + 9;
    
    				_layer cutRsc ['RscTitleStructuredText', 'PLAIN'];
    				_display = uinamespace getvariable ['RscTitleStructuredText',displaynull];
    				_ctrl = _display displayctrl 9999;
    				_ctrl ctrlShow true; 
    				_ctrl ctrlEnable true; 
    				_ctrl ctrlSetFade 0; 
    				while{dayz_esp_toggle} do {
    					_distance = player distance _target;
    					if((_distance > _maxDistance) || !(alive _target)) exitWith {};
    
    					if(time > _timeToReplace) then {
    						_timeToReplace = time + 9;
    						_layer cutRsc ['RscTitleStructuredText', 'PLAIN'];
    						_display = uinamespace getvariable ['RscTitleStructuredText',displaynull];
    						_ctrl = _display displayctrl 9999;
    						_ctrl ctrlShow true; 
    						_ctrl ctrlEnable true; 
    						_ctrl ctrlSetFade 0; 
    					};
    					_pos = [(getPosATL _target) select 0, (getPosATL _target) select 1, ((getPosATL _target) select 2) + 2];
    					_pos2D = WorldToScreen _pos;
    					_health = round(((_target getVariable['blood',0])/5000)*100);
    					_hand = (typeof (itemInHands _target));
    					_name = name _target;
    					_addon = "";
    					if(toLower(_name) in whitelist) then {
    						_addon = "<br/><t size='0.5' color='#FF69B4'>Whitelisted</t>";
    					};
    					if(toLower(_name) in devlist) then {
    						_addon = "<br/><t size='0.5' color='#0000FF'>Cheat Developer</t>";
    					};
    					if (count _pos2D > 0) then
    					{
    						if !(ctrlShown _ctrl) then {
    							_ctrl ctrlShow true;
    						};
    						_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
    						_text = parseText format ['<t size=''0.40'' color=''#00FF00''>%1 (%2m) [HP: %3%]<br/>Hand: %4</t>%5', _name, round (player distance _target),_health,_hand,_addon];
    						_ctrl ctrlSetStructuredText _text;
    						_ctrl ctrlCommit 0;
    					} else {
    						if(ctrlShown _ctrl) then {
    							_ctrl ctrlShow false;
    						};
    					};
    					uiSleep 0.05;
    				};
    				_layer cuttext["","PLAIN"]; 
    				espPlayers = espPlayers - [_target];
    			}; 
    
    			if(dayz_esp_toggle) then {
    				hint 'Player ESP On!';
    			} else {
    				hint 'Player ESP Off!';
    			};
    
    			_layer = 1000;
    			_nearPlayers = [];
    			espPlayers = [];
    			_activationDistance = _activationDistance min 800;
    			while{dayz_esp_toggle} do {
    				_nearPlayers = (getpos player) nearObjects ["SurvivorBase",850];
    				{
    					if(alive _x) then { 
    						_distance = player distance _x;
    						if(_distance < _activationDistance) then {
    							if !(_x in espPlayers) then { 
    								espPlayers = espPlayers + [_x]; 
    								[_x,_activationDistance,_layer] spawn _drawESP;
    								_layer = _layer + 1;
    							};
    						};
    					};
    				} forEach _nearPlayers;
    			};
    		};
    		unrestrain = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			actionReleased = player;
    			publicVariableServer "actionReleased";
    		};
    		hidebuildings = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			_objects = [];
    
    			if(toggle_13) then {hint 'Buildings are hidden!';} else {hint 'Buidlings are visible!';};
    			while{toggle_13} do {
    				_buildings = ((getpos player) nearobjects ["House",1000]);
    				{
    					if !(_x in _objects) then {
    						_objects = _objects + [_x];
    						_x hideObject true;
    					};
    				} forEach _buildings;
    			};
    			{
    				_x hideObject false;
    			} forEach _objects;
    		};
    		firetrail = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			player setVariable ["fire",toggle_12];
    			if(toggle_12) then {hint 'You are on fire!';} else {hint 'You are no longer on fire!';};
    			player spawn event_fnc_fireplaceFire;
    		};
    		thirdperson = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(toggle_11) then {
    				onEachFrame {
    					_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    					player switchCamera "External";
    				};
    				hint 'Third Person Mode - ON';
    			} else {
    				onEachFrame {};
    				hint 'Third Person Mode - OFF';
    			};
    		};	
FPS_Boost = 
	{	
		if (isNil ("FPS_Boost1")) then
		{
			FPS_Boost1 = 0;
		};
		if (FPS_Boost1==0) then
		{
		    setShadowDistance 0;
			setViewDistance 600;
			setTerrainGrid 50.0;		
			hint 'FPS boost - ON';
			FPS_Boost1=1;
		}
		else
		{		
		    setShadowDistance 100;
			setViewDistance 1500;	
			setTerrainGrid 12.5;		
			hint 'FPS boost - OFF';
			FPS_Boost1=0;
		}; 
	};
MapM =
	{
disableSerialization;
		closeDialog 0;
			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 ["Draw", "_this call n212"];
		for "_i" from 0 to 9999 do 
		{
			if (_i != 51) then 
			{
				((findDisplay 12) displayCtrl _i) ctrlShow false;
			};
		};
	};
disarmp = {
		_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]); 
		{
			if (name _x == _this select 0) then
			{
				dropItems = _x;publicVariableServer 'dropItems';
			};
			
		} forEach _entities;
	};
knockOut = {
	    _entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]); 
		{
			if (name _x == _this select 0) then
			{

				_pos = _x modeltoworld [0,0,2]; 
				for "_i" from 0 to 6 do {
					_bullet = "MeleeFist" createvehiclelocal _pos; 
					_bullet setVelocity [0, 0, -50];
					_bullet2 = "MeleeFist" createvehiclelocal _pos; 
					_bullet2 setVelocity [0, 0, -50];
					_bullet3 = "MeleeFist" createvehiclelocal _pos; 
					_bullet3 setVelocity [0, 0, -50];
					_bullet4 = "MeleeFist" createvehiclelocal _pos; 
					_bullet4 setVelocity [0, 0, -50];
					_bullet5 = "MeleeFist" createvehiclelocal _pos; 
					_bullet5 setVelocity [0, 0, -50];
					_bullet6 = "MeleeFist" createvehiclelocal _pos; 
					_bullet6 setVelocity [0, 0, -50];
					_bullet7 = "MeleeFist" createvehiclelocal _pos; 
					_bullet7 setVelocity [0, 0, -50];
					_bullet8 = "MeleeFist" createvehiclelocal _pos; 
					_bullet8 setVelocity [0, 0, -50];
					_bullet9 = "MeleeFist" createvehiclelocal _pos; 
					_bullet9 setVelocity [0, 0, -50];
					_bullet10 = "MeleeFist" createvehiclelocal _pos; 
					_bullet10 setVelocity [0, 0, -50];
				};

			};
			
		} forEach _entities;
	};
DayTime = 
{
0 setrain 0;
0 setOvercast 0;
0 setFog 0;
setDate [2012, 9, 1, 14, 0];
hint "Time Day / Clear Weather";
};	
kplayer = {
	    _entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]); 
		{
			if (name _x == _this select 0) then
			{

			_pos = _x modeltoworld [0,0,1.20]; 
			_bullet = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet setVelocity [0, 0, -50000];
			_bullet2 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet2 setVelocity [0, 0, -50000];
			_bullet3 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet3 setVelocity [0, 0, -50000];
			_bullet4 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet4 setVelocity [0, 0, -50000];
			_bullet5 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet5 setVelocity [0, 0, -50000];
			_bullet6 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet6 setVelocity [0, 0, -50000];
			_bullet7 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet7 setVelocity [0, 0, -50000];
			_bullet8 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet8 setVelocity [0, 0, -50000];
			_bullet9 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet9 setVelocity [0, 0, -50000];
			_bullet10 = "B_762x51_Ball" createvehiclelocal _pos; 
			_bullet10 setVelocity [0, 0, -50000];

			};
			
		} forEach _entities;
	};
tpweps = {
    _entities = (allMissionObjects "riflecore") + (allMissionObjects "pistolcore") + (allMissionObjects "ShotgunBase");
    {
	_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
	_x setPos _pos;
    } forEach _entities;
    statusChat "Teleported Weapons!";
    };
tpfood = {
_entities = (allMissionObjects "DrinksItemBase") + (allMissionObjects "FoodItemBase") + (allMissionObjects "FoodCanned") + (allMissionObjects "FoodCanned_Closed") + (allMissionObjects "FruitBase") + (allMissionObjects "MeatBase") + (allMissionObjects "berrybase") + (allMissionObjects "tool_canopener");
{
	_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
	_x setPos _pos;
} forEach _entities;
statusChat "Teleported Food!";
};
itemmagnet = {
_entities = (allMissionObjects "InventoryBase");
{
	_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
	_x setPos _pos;
} forEach _entities;
statusChat "Teleported Items!";
};
tpvehicles = {
_entities = (allMissionObjects "LandVehicle");
{
	_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
	_x setPos _pos;
} forEach _entities;
statusChat "Teleported Vehicles!";
};
pshield = {
		if (isNil ("ppshield")) then  {ppshield = 0;};
		if (ppshield==0) then {titleText ["??? ?? Jugadores ???????!!!.","PLAIN DOWN"]; titleFadeOut 999; ppshield = 1;} else {titleText ["??? ?? Jugadores ????????!.","PLAIN DOWN"]; titleFadeOut 1;ppshield = 0;};
		_code = { 
			while {ppshield==1} do {
				_pos = getPos player;
				_standaloneisgayNear = _pos nearEntities ["SurvivorBase",100];
				_standaloneisgayCount = count _standaloneisgayNear;
						 
				for "_i" from 0 to (_standaloneisgayCount - 1) do
				{
					_standaloneisgayZombie = _standaloneisgayNear select _i;
					if (player != _standaloneisgayZombie) then {
						_pos = _standaloneisgayZombie modeltoworld [0,0,1.20]; 
						_bullet = "B_762x51_Ball" createvehiclelocal _pos; 
						_bullet setVelocity [0, 0, -50000];
						_bullet2 = "B_762x51_Ball" createvehiclelocal _pos; 
						_bullet2 setVelocity [0, 0, -50000];
						_bullet3 = "B_762x51_Ball" createvehiclelocal _pos; 
						_bullet3 setVelocity [0, 0, -50000];
						_bullet4 = "B_762x51_Ball" createvehiclelocal _pos; 
						_bullet4 setVelocity [0, 0, -50000];
						_bullet5 = "B_762x51_Ball" createvehiclelocal _pos; 
						_bullet5 setVelocity [0, 0, -50000];
						_bullet6 = "B_762x51_Ball" createvehiclelocal _pos; 
						_bullet6 setVelocity [0, 0, -50000];
						_bullet7 = "B_762x51_Ball" createvehiclelocal _pos; 
						_bullet7 setVelocity [0, 0, -50000];
					};
				};
				sleep 4;
			}; 
		};
		[] spawn _code;
	};
ShowGuid = 
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]); 
		{
			if (name _x == _this select 0) then {
				_UIDx = getPlayerUID _x;
				createDialog 'RscDisplaynote';
				sleep 0.2;
				disableSerialization;
				ctrlSetText[1600,'Clear'];
				ctrlSettext[1601,'Clear'];
				ctrlSetText[1300,'UID'];
				ctrlSetText[1400,_UIDx];
				buttonSetAction[1600,'ctrlsetText[1400,''''];'];
				buttonSetAction[1601,'ctrlsetText[1400,''''];'];
			};
		} forEach _entities;
};
DeadBodies_es =
{ 
n791 = 
{
tarDis2 = 1000;
if (isNil 'n793') then
{
n793 = 0;
};
if (n793 == 0) then
{
n793 = 1;
systemchat "ESP ???? Jugadores ON";
_a = [];
while {n793 == 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 n792;
sleep 1;
};
} forEach _entities;
sleep 10;
};
} else {
n793 = 0;
systemchat "ESP ???? Jugadores OFF";
};
};	
n792 = {
disableSerialization;
if (isNil 'n794') then {n794 = 2733;};
n794 cutRsc ['RscDynamicText', 'PLAIN'];
n794 = n794 + 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 (n793 == 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/>%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 n791;
};
zshield = {
		if (isNil ("zzshield")) then  {zzshield = 0;};
		if (zzshield==0) then {systemchat "Zombie-??? ???????!";zzshield = 1;} else {systemchat "Zombie-??? ????????!";zzshield = 0;};
		_code = { 
			while {zzshield==1} do {
				_pos = getPos player;
				_standaloneisgayNear = _pos nearEntities ["ZombieBase",30];
				_standaloneisgayCount = count _standaloneisgayNear;
						 
				for "_i" from 0 to (_standaloneisgayCount - 1) do
				{
					_standaloneisgayZombie = _standaloneisgayNear select _i;
					_pos = _standaloneisgayZombie modeltoworld [0,0,1.20]; 
					_bullet = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet setVelocity [0, 0, -50000];
					_bullet2 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet2 setVelocity [0, 0, -50000];
					_bullet3 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet3 setVelocity [0, 0, -50000];
					_bullet4 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet4 setVelocity [0, 0, -50000];
					_bullet5 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet5 setVelocity [0, 0, -50000];
					_bullet6 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet6 setVelocity [0, 0, -50000];
					_bullet7 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet7 setVelocity [0, 0, -50000];
					
					_bullet8 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet8 setVelocity [0, 0, -50000];
					_bullet9 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet9 setVelocity [0, 0, -50000];
					_bullet10 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet10 setVelocity [0, 0, -50000];
					_bullet11 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet11 setVelocity [0, 0, -50000];
					_bullet12 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet12 setVelocity [0, 0, -50000];
					_bullet13 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet13 setVelocity [0, 0, -50000];
					_bullet14 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet14 setVelocity [0, 0, -50000];
					_bullet15 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet15 setVelocity [0, 0, -50000];
					_bullet16 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet16 setVelocity [0, 0, -50000];
					_bullet17 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet17 setVelocity [0, 0, -50000];
					_bullet18 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet18 setVelocity [0, 0, -50000];
					_bullet19 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet19 setVelocity [0, 0, -50000];
					_bullet20 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet20 setVelocity [0, 0, -50000];
					_bullet21 = "B_762x51_Ball" createvehiclelocal _pos; 
					_bullet21 setVelocity [0, 0, -50000];
					
					
					
				};
				sleep 3;
			}; 
		};
		[] spawn _code;
	};
tent_es = 
{
n722 = 
{
if (isNil 'n721') then {n721 = 0;};
if (n721 == 0) then
{
hint "Tent ESP ON";
n721 = 1;
n725 = [];
while {n721 == 1} do
{
_entities = (allMissionObjects "TentMedium_Pitched") + (allMissionObjects "TentLarge_Pitched") + (allMissionObjects "TentMedium_Packed") + (allMissionObjects "TentLarge_Backpack");
{
if !(_x in n725) then {
n725 = n725 + [_x];
[_x] spawn n723;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Tent ESP OFF";
n721 = 0;
};
};
n723 = 
{
disableSerialization;
if (isNil 'n724') then {n724 = 2733;};
n724 cutRsc ['rscDynamicText', 'PLAIN'];
n724 = n724 + 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 (n721 == 0) exitWith {n725 = n725 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n725 = n725 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n722;
};	
medical_es = 
{
n472 = 
{
if (isNil 'n471') then {n471 = 0;};
if (n471 == 0) then
{
systemchat "Medical ESP ON";
n471 = 1;
n475 = [];
while {n471 == 1} do
{
_entities = (allMissionObjects "MedicalItemBase");
{
if !(_x in n475) then {
n475 = n475 + [_x];
[_x] spawn n473;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
systemchat "Medical ESP OFF";
n471 = 0;
};
};
n473 = 
{
disableSerialization;
if (isNil 'n474') then {n474 = 2733;};
n474 cutRsc ['rscDynamicText', 'PLAIN'];
n474 = n474 + 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 (n471 == 0) exitWith {n475 = n475 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n475 = n475 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n472;
};	
melee_es = 
{
n482 = 
{
if (isNil 'n481') then {n481 = 0;};
if (n481 == 0) then
{
hint "Melee ESP ON";
n481 = 1;
n485 = [];
while {n481 == 1} do
{
_entities = (allMissionObjects "MeleeItemBase") + (allMissionObjects "Sword") + (allMissionObjects "KnifeBase");
{
if !(_x in n485) then {
n485 = n485 + [_x];
[_x] spawn n483;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Melee ESP OFF";
n481 = 0;
};
};
n483 = 
{
disableSerialization;
if (isNil 'n484') then {n484 = 2733;};
n484 cutRsc ['rscDynamicText', 'PLAIN'];
n484 = n484 + 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 (n481 == 0) exitWith {n485 = n485 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n485 = n485 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n482;
};
ammo_es = 
{
n282 = 
{
if (isNil 'n281') then {n281 = 0;};
if (n281 == 0) then
{
hint "Ammo ESP ON";
n281 = 1;
n284 = [];
while {n281 == 1} do
{
_entities = (allMissionObjects "MagazineBase") + (allMissionObjects "AmmunitionItemBase") + (allMissionObjects "AmmunitionBoxItemBase") + (allMissionObjects "ArrowsBase");
{
if !(_x in n284) then {
n284 = n284 + [_x];
[_x] spawn n283;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Ammo ESP OFF";
n281 = 0;
};
};
n283 = 
{
disableSerialization;
if (isNil 'n285') then {n285 = 2733;};
n285 cutRsc ['rscDynamicText', 'PLAIN'];
n285 = n285 + 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 (n281 == 0) exitWith {n284 = n284 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n284 = n284 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n282;
};	
attachment_es = 
{
n292 = 
{
if (isNil 'n291') then {n291 = 0;};
if (n291 == 0) then
{
hint "Attachment ESP ON";
n291 = 1;
n295 = [];
while {n291 == 1} do
{
_entities = (allMissionObjects "AttachmentBase") + (allMissionObjects "SuppressorBase") + (allMissionObjects "PoweredOpticBase");
{
if !(_x in n295) then {
n295 = n295 + [_x];
[_x] spawn n293;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Attachment ESP OFF";
n291 = 0;
};
};
n293 = 
{
disableSerialization;
if (isNil 'n294') then {n294 = 2733;};
n294 cutRsc ['rscDynamicText', 'PLAIN'];
n294 = n294 + 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 (n291 == 0) exitWith {n295 = n295 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n295 = n295 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n292;
};	
weapons_es = 
{
n122 = 
{
if (isNil 'n121') then {n121 = 0;};
if (n121 == 0) then
{
hint "Weapon ESP ON";
n121 = 1;
arr1 = [];
while {n121 == 1} do
{
_entities = (allMissionObjects "riflecore") + (allMissionObjects "ShotgunBase") + (allMissionObjects "pistolcore") + (allMissionObjects "FlashGrenade") + (allMissionObjects "GrenadeBase");
{
if !(_x in arr1) then {
arr1 = arr1 + [_x];
[_x] spawn n123;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Weapon ESP OFF";
n121 = 0;
};
};
n123 = 
{
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 (n121 == 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.25' color='#00FC97'>%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 n122;
};
gloves_es = 
{
n412 = 
{
if (isNil 'n411') then {n411 = 0;};
if (n411 == 0) then
{
hint "Gloves ESP ON";
n411 = 1;
n415 = [];
while {n411 == 1} do
{
_entities = (allMissionObjects "GlovesBase");
{
if !(_x in n415) then {
n415 = n415 + [_x];
[_x] spawn n413;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Gloves ESP OFF";
n411 = 0;
};
};
n413 = 
{
disableSerialization;
if (isNil 'n414') then {n414 = 2733;};
n414 cutRsc ['rscDynamicText', 'PLAIN'];
n414 = n414 + 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 (n411 == 0) exitWith {n415 = n415 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n415 = n415 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n412;
};
vest_es = 
{
n402 = 
{
if (isNil 'n401') then {n401 = 0;};
if (n401 == 0) then
{
hint "Vest ESP ON";
n401 = 1;
n405 = [];
while {n401 == 1} do
{
_entities = (allMissionObjects "VestBase");
{
if !(_x in n405) then {
n405 = n405 + [_x];
[_x] spawn n403;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Vest ESP OFF";
n401 = 0;
};
};
n403 = 
{
disableSerialization;
if (isNil 'n404') then {n404 = 2733;};
n404 cutRsc ['rscDynamicText', 'PLAIN'];
n404 = n404 + 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 (n401 == 0) exitWith {n405 = n405 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n405 = n405 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n402;
};
footwear_es = 
{
n392 = 
{
if (isNil 'n391') then {n391 = 0;};
if (n391 == 0) then
{
hint "Footwear ESP ON";
n391 = 1;
n395 = [];
while {n391 == 1} do
{
_entities = (allMissionObjects "FootwearBase");
{
if !(_x in n395) then {
n395 = n395 + [_x];
[_x] spawn n393;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Footwear ESP OFF";
n391 = 0;
};
};
n393 = 
{
disableSerialization;
if (isNil 'n394') then {n394 = 2733;};
n394 cutRsc ['rscDynamicText', 'PLAIN'];
n394 = n394 + 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 (n391 == 0) exitWith {n395 = n395 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n395 = n395 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n392;
};
bottomwear_es = 
{
n382 = 
{
if (isNil 'n381') then {n381 = 0;};
if (n381 == 0) then
{
hint "Bottomwear ESP ON";
n381 = 1;
n385 = [];
while {n381 == 1} do
{
_entities = (allMissionObjects "BottomwearBase");
{
if !(_x in n385) then {
n385 = n385 + [_x];
[_x] spawn n383;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Bottomwear ESP OFF";
n381 = 0;
};
};
n383 = 
{
disableSerialization;
if (isNil 'n384') then {n384 = 2733;};
n384 cutRsc ['rscDynamicText', 'PLAIN'];
n384 = n384 + 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 (n381 == 0) exitWith {n385 = n385 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n385 = n385 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n382;
};
topwear_es = 
{
n372 = 
{
if (isNil 'n371') then {n371 = 0;};
if (n371 == 0) then
{
hint "Topwear ESP ON";
n371 = 1;
n375 = [];
while {n371 == 1} do
{
_entities = (allMissionObjects "TopwearBase");
{
if !(_x in n375) then {
n375 = n375 + [_x];
[_x] spawn n373;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Topwear ESP OFF";
n371 = 0;
};
};
n373 = 
{
disableSerialization;
if (isNil 'n374') then {n374 = 2733;};
n374 cutRsc ['rscDynamicText', 'PLAIN'];
n374 = n374 + 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 (n371 == 0) exitWith {n375 = n375 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n375 = n375 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n372;
};
headgear_es = 
{
n352 = 
{
if (isNil 'n351') then {n351 = 0;};
if (n351 == 0) then
{
hint "Headgear ESP ON";
n351 = 1;
n355 = [];
while {n351 == 1} do
{
_entities = (allMissionObjects "HeadgearBase");
{
if !(_x in n355) then {
n355 = n355 + [_x];
[_x] spawn n353;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Headgear ESP OFF";
n351 = 0;
};
};
n353 = 
{
disableSerialization;
if (isNil 'n354') then {n354 = 2733;};
n354 cutRsc ['rscDynamicText', 'PLAIN'];
n354 = n354 + 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 (n351 == 0) exitWith {n355 = n355 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n355 = n355 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n352;
};
backpack_es = 
{
n312 = 
{
if (isNil 'n311') then {n311 = 0;};
if (n311 == 0) then
{
hint "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.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "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.25' color='#00FC97'>%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;
};
ViewPlayer = 
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == _this select 0) then
{
createGearDialog [(_x), "RscDisplayGear"];
};
} forEach _entities;
};
Spectate = 
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == _this select 0) 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";}'];
};
TakeAShit = 
{
playerAction 'PlayerPoo';
hint "You Are Taking A Shit";	
sleep 1;
};
PlayerVomit = 
{
playerAction 'PlayerVomit';
hint "Vomiting";	
sleep 1;
};	
RefillGas = 
{
if (isNil ("n631")) then 
{
n631 = 0;
};
if (n631==0) then
{
onEachFrame 
{
vehicle player setfuel 1;
};	
hint "Full Vehicle Fuel ON";
n631=1;
}
else
{
onEachFrame 
{
vehicle player setfuel 0;
};
hint "Full Vehicle Fuel OFF";	
n631=0;
};
};	
    		fastshoot = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(toggle_8) then {hint "FAST FIRE ON!";} else {hint "FAST FIRE OFF!";};
    			while{toggle_8} do {
    				player setWeaponReloadingTime [player,currentWeapon player,0];
    				sleep 0.001;
    			};
    		};
    		noblurandfullcolor = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(toggle_9) then {HINT "NO BLUR + FULL COLOR ON";} else {HINT "NO BLUR + FULL COLOR OFF";};
    			_realblood = 0;
    			while{toggle_9} do {	
    				resetCamShake;
    				_realblood = player getVariable['blood',-1];
    				player setVariable ['blood',5000];
    				waitUntil{player getVariable ['blood',-1] != 5000};
    			};
    		};
    		lysticrecoil = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(toggle_10) then {
    				player setUnitRecoilCoefficient 0;
    				hint 'No Recoil - ON';
    			} else {
    				player setUnitRecoilCoefficient 1;
    				hint 'No Recoil - OFF';
    			};
    		};
    		killme = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			_unit = player;
    			while{alive player} do {
    				player setVelocity[0,0,1000];
    				sleep 0.2;
    				player setVelocity[0,0,-1000];
    				sleep 1.5;
    			};
    			_unit setVelocity[0,0,10000];
    		};
    		executer = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			closedialog 0;
    			sleep 0.1;
    			createdialog 'rscdisplaynote';
    			sleep 0.2;
    			disableSerialization;
    			ctrlSetText[1600,'Execute'];
    			ctrlSettext[1601,'Clear'];
    			ctrlSetText[1300,'Bowens Script Executer'];
    			buttonSetAction[1600,'_text = (ctrlText 1400);[] spawn compile _text;'];
    			buttonSetAction[1601,'ctrlsetText[1400,''''];'];
    		};
    		timeday = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if (isnil ("loop1")) then {loop1 = 0;};
    			if (loop1==0) then {loop1=1;cutText [format["Enabled Loop"], "PLAIN DOWN"];hint "Enabled Loop";}else
    				{loop1=0;cutText [format["Disabled Loop"], "PLAIN DOWN"];hint "Disabled Loop";};
    				while {loop1==1} do
    				{
    					setDate [2012, 9, 1, 14, 0];
    					sleep 4;
    				};
    		};
SpeedA = 
{
			_spid1 = false;
			if(isnil "n761") then {n761 = false;};
			n761 = !n761;
			if(n761) then {["?????? ON!"] call fnc_1;} else {["?????? OFF!"] call fnc_1;};
			while{n761} do {
				if(_spid1) then {sleep 0.1;_spid1 = false;};
				if(inputAction "MoveForward" > 0|| inputAction "MoveFastForward" > 0|| inputAction "MoveSlowForward" > 0 || inputAction "EvasiveForward" > 0) then {
					_distance = 0.7;
					_dir = getdir vehicle player;
					_pos = getposasl vehicle player;
					if ((_pos select 2) > 5) then 
					{
						_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),(_pos select 2)];
					}
					else
					{
						_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),getTerrainHeightASL [(_pos select 0),(_pos select 1)]-.1];
					};
					player setPosASL _pos;
					_spid1 = true;
				} else {
					if(inputAction "MoveBack" > 0|| inputAction "EvasiveBack" > 0) then {
						_distance = -0.7;
						_dir = getdir vehicle player;
						_pos = getposasl vehicle player;
						if ((_pos select 2) > 5) then 
						{
							_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),(_pos select 2)];
						}
						else
						{
							_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),getTerrainHeightASL [(_pos select 0),(_pos select 1)]-.1];
						};
						player setPosASL _pos;
						_spid1 = true;
					};
				};
				sleep 0.001;
			};
};	
SpeedB =
{
		_doWait = false;
		if (isNil ("pfast")) then  {pfast = 0;};
		if (pfast == 0) then {pfast = 1;} else {pfast = 0;};
		if (pfast == 1) then {systemchat "Speed hack pro ON!";} else {systemchat "Speed hack pro OFF!";};
		while{pfast==1} do {
			if(_doWait) then {sleep 0.1;_doWait = false;};
			if(inputAction "MoveForward" > 0|| inputAction "MoveFastForward" > 0|| inputAction "MoveSlowForward" > 0 || inputAction "EvasiveForward" > 0) then {
				_distance = 15.0;
				_dir = getdir vehicle player;
				_pos = getposasl vehicle player;
				_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),0];
				player setPos _pos;
				_doWait = true;
			} else {
				if(inputAction "MoveBack" > 0|| inputAction "EvasiveBack" > 0) then {
					_distance = -10.0;
					_dir = getdir vehicle player;
					_pos = getposasl vehicle player;
					_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),0];
					player setPos _pos;
					_doWait = true;
				};
			};
			sleep 0.001;
		};
};
SpeedC =
{
_dwat7 = false;
		if (isNil ("dwat8")) then  {dwat8 = 0;};
		if (dwat8 == 0) then {dwat8 = 1;} else {dwat8 = 0;};
		if (dwat8 == 1) then {systemchat "Speed hack Crazy ON!";} else {systemchat "Speed hack Crazy OFF!";};
		while{dwat8==1} do {
			if(_dwat7) then {sleep 0.005;_dwat7 = false;};
			if(inputAction "MoveForward" > 0|| inputAction "MoveFastForward" > 0|| inputAction "MoveSlowForward" > 0 || inputAction "EvasiveForward" > 0) then {
				_distance = 15.0;
				_dir = getdir vehicle player;
				_pos = getposasl vehicle player;
				_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),0];
				player setPos _pos;
				_dwat7 = true;
			} else {
				if(inputAction "MoveBack" > 0|| inputAction "EvasiveBack" > 0) then {
					_distance = -10.0;
					_dir = getdir vehicle player;
					_pos = getposasl vehicle player;
					_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),0];
					player setPos _pos;
					_dwat7 = true;
				};
			};
			sleep 0.00005;
		};

};	
Cloth_es = 
{
n322 = 
{
if (isNil 'n321') then {n321 = 0;};
if (n321 == 0) then
{
hint "Clothing ESP ON";
n321 = 1;
n325 = [];
while {n321 == 1} do
{
_entities = (allMissionObjects "ClothingBase") + (allMissionObjects "EyewearBase") + (allMissionObjects "Consumable_BandanaBase");
{
if !(_x in n325) then {
n325 = n325 + [_x];
[_x] spawn n323;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
} else {
hint "Clothing ESP OFF";
n321 = 0;
};
};
n323 = 
{
disableSerialization;
if (isNil 'n324') then {n324 = 2733;};
n324 cutRsc ['rscDynamicText', 'PLAIN'];
n324 = n324 + 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 (n321 == 0) exitWith {n325 = n325 - [_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.25' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.01;
};
n325 = n325 - [_unit];
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn n322;
};
Disarmall = {
	if (isNil ("obl1221")) then  {obl1221 = 0;};
	if (obl1221 == 0) then {obl1221 = 1;} else {obl1221 = 0;};
	if (obl1221 == 1) then {systemchat "???????????? ?????????????? Jugadores";} else {systemchat "????????? ?????????????? Jugadores";};
	while{obl1221 == 1} do {
		_list = player nearEntities ["SurvivorBase",100];
		{
			if(_x != player) then {
				dropItems = _x;
				publicVariableServer 'dropItems';
			};
		} forEach _list;
		sleep 0.1;
	};
};	
    		infammo = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if (isnil ("infammoON")) then 
    			{
    				infammoON = 0;
    			};
    			if (infammoON==0) then
    			{
    				systemchat "Infinite Ammo ON!";
    				infammoON=1;
    			}
    			else
    			{
    				infammoON=0;
    				systemchat "Infinite Ammo OFF!";
    			};
    			sCode = " while {infammoON==1} do{(vehicle player) setVehicleAmmo 1;sleep 0.1;};";
    			[] spawn compile sCode;
    		};
    		nocollide = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(toggle_4) then {hint "NO COLLIDE ON";} else {hint "NO COLLIDE OFF";};
    			_objects = [];
    			while{toggle_4} do {
    				_list = (getposatl player) nearObjects 50;
    				{
    					if !(_x in _objects) then {
    						player disableCollisionWith _x;
    						_objects = _objects + [_x];
    					};
    				} forEach _list;
    				sleep 10;
    			};
    			{
    				player enableCollisionWith _x;
    				_objects = _objects - [_x];
    			} forEach _objects;
    		};
    		removegrass = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(toggle_5) then {
    				setTerrainGrid 50.0;hint "Terrain Hack ON";
    			} else {
    				setTerrainGrid 12.5;hint "Terrain Hack OFF";
    			};
    		};
                nothing = {
    		};
    		norestrain = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			"actionRestrained"  addPublicVariableEventHandler {}; 
    		};
    		nowet = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			rainCheck = {};
    			isUnderRoof = {[0,0,0,0]};
    			hint "No Longer Wet From Rain!";
    		};
    		dupebody = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			if(isNil 'swagbagdupe') then {
    				saveprofilenamespace;
    				swagbagdupe = 2;
    				uiSleep swagbagdupe;
    			};
    			clientReady = PLAYER_ID;
    			publicVariableServer "clientReady";
    		};
Car_es = 
{
toggleOBL28 = {
	if (isNil 'espobl28') then {espobl28 = 0;};
		if (espobl28 == 0) then
			{
			espobl28 = 1;
			systemchat "ESP ?????????? ON";
			arrOBL28 = [];
			while {espobl28 == 1} do
				{
				_pos = getPos player;
				_entities = (nearestObjects [_pos, ["LandVehicle"], 1000]) + (nearestObjects [_pos, ["Helicopter"], 1000]);
					{
					if (!(_x in arrOBL28) && (_x != (vehicle player))) then {
					arrOBL28 = arrOBL28 + [_x];
					[_x] spawn drawOBL28;
					sleep 0.25;
					};
					} forEach _entities;
					sleep 5;
				};
			} else {
				espobl28 = 0;
				systemchat "ESP ?????????? OFF";
			};
		};
	drawOBL28 = {
			disableSerialization;
			if (isNil 'ESP_Count_car') then {ESP_Count_car = 2833;};
			ESP_Count_car cutRsc ['rscDynamicText', 'PLAIN'];
			ESP_Count_car = ESP_Count_car + 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 (espobl28 == 0) exitWith {arrOBL28 = arrOBL28 - [_unit];};
				_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
				_pos2D = WorldToScreen _pos;
				_nameunit = name _unit;
				_fnd = toArray _nameunit;
				while {60 in _fnd} do {
					_rf = _fnd find 60;
					_fnd set [_rf, 171];
				};
				while {62 in _fnd} do {
					_rf = _fnd find 62;
					_fnd set [_rf, 187];
				};
				_nameunit = toString _fnd;
				if (count _pos2D > 0) then
				{
					_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
					_text = parseText format ["<t size='0.40' color='#20FF50'>%3 in %1 (%2m)</t>", typeOf _unit, round (player distance _unit), _nameunit];
					_ctrl ctrlSetStructuredText _text;
					_ctrl ctrlCommit 0;
				};
				sleep 0.01;
			};
			arrOBL28 = arrOBL28 - [_unit];
			_ctrl ctrlShow false;
			_ctrl ctrlEnable false;
		};
		[] spawn toggleOBL28;
};	
Heliesp =
	{
		fourtwenty = 
		{
			if (isNil 'privetbrat') then 
                        {
                                privetbrat = 0;
                        };
			if (privetbrat == 0) then
			{
				statusChat "HELI ESP Activated";
				privetbrat = 1;
				arr2 = [];
				while {privetbrat == 1} do
				{
					_entities = (allMissionObjects "Land_Mi8_Crashed") + (allMissionObjects "Land_UH1Y_Wreck");
					{
						if !(_x in arr2) then 
                                                {
							arr2 = arr2 + [_x];
							[_x] spawn privetbrat2;
							sleep 0.25;
						};
					} forEach _entities;
					sleep 5;
				};
			} 
                        else 
                        {
				statusChat "HELI ESP Deactivated";
				privetbrat = 0;
			};
		};
		privetbrat2 = 
		{
			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 (privetbrat == 0) exitWith 
                                {
                                         arr2 = arr2 - [_unit];_ctrl ctrlShow false;_ctrl ctrlEnable false;
                                };
				_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2)];
				_pos2D = WorldToScreen _pos;
				if (count _pos2D > 0) then
				{
					_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
					_text = parseText format ["<t size='0.30' color='#f9cb0f'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
					_ctrl ctrlSetStructuredText _text;
					_ctrl ctrlCommit 0;
				};
				sleep 0.01;
			};
			arr2 = arr2 - [_unit];
			_ctrl ctrlShow false;
			_ctrl ctrlEnable false;
		};
		[] spawn fourtwenty;
	};
Morphine =
	{
	player setHit ["Legs", 0];
    player setHit ["Hands", 0];
	systemChat "Injected Morphine";
	};
TP_Up =
	{
		_MiZ_pos = player modeltoworld [0,0,4.5];
		player setVehiclePosition [_MiZ_pos, [], 0];
		systemchat "Teleported Up One Floor";
	};
	
TP_Down =
	{
		_MiZ_pos = player modeltoworld [0,0,-4];
		player setVehiclePosition [_MiZ_pos, [], 0];
		systemchat "Teleported Down One Floor";
	};	
    		magnet = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    
    			_objects = _this select 1;
    			_prefix = _this select 0;
    
    			//check for nil variables
    			call compile format["if(isNil '%1_esp') then {%1_esp = [];};",_prefix];
    			call compile format["if(isNil '%1_esp_t') then {%1_esp_t = false;};%1_esp_t = !%1_esp_t;",_prefix];
    			_activationDistance = 800; 
    			_drawESP = {
    				_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    				disableserialization;
    				_target = _this select 0;
    				_maxDistance = _this select 1;
    				_layer = _this select 2;
    				_prefix = _this select 3;
    				
    				_timeToReplace = time + 9;
    
    				_layer cutRsc ['RscTitleStructuredText', 'PLAIN'];
    				_display = uinamespace getvariable ['RscTitleStructuredText',displaynull];
    				_ctrl = _display displayctrl 9999;
    				_ctrl ctrlShow true; 
    				_ctrl ctrlEnable true; 
    				_ctrl ctrlSetFade 0; 
    				while{call compile format["%1_esp_t",_prefix]} do {
    					_distance = player distance _target;
    					if((_distance > _maxDistance) || !(alive _target)) exitWith {};
    
    					if(time > _timeToReplace) then {
    						_timeToReplace = time + 9;
    						_layer cutRsc ['RscTitleStructuredText', 'PLAIN'];
    						_display = uinamespace getvariable ['RscTitleStructuredText',displaynull];
    						_ctrl = _display displayctrl 9999;
    						_ctrl ctrlShow true; 
    						_ctrl ctrlEnable true; 
    						_ctrl ctrlSetFade 0; 
    					};
    					_pos = [(getPosATL _target) select 0, (getPosATL _target) select 1, ((getPosATL _target) select 2) + 2];
    					_pos2D = WorldToScreen _pos;
    					_health = round((damage _target)*100);
    					if (count _pos2D > 0) then
    					{
    						_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
    						_text = parseText format ['<t size=''0.40'' color=''#FFFF00''>%1 (%2m) [HP: %3%]', "Item", round (player distance _target),_health];
    						_ctrl ctrlSetStructuredText _text;
    						_ctrl ctrlCommit 0;
    					};
    					uiSleep 0.05;
    				};
    				_layer cuttext["","PLAIN"]; 
    				call compile format["%1_esp = %1_esp - [_target];",_prefix];
    			}; 
    
    			if(call compile format["%1_esp_t",_prefix]) then {
    				hint format['%1 ESP On!'];
    				magnet_running = magnet_running + 1;
    			} else {
    				hint format['%1 ESP Off!'];
    				magnet_running = magnet_running - 1;
    			};
    
    			_layer = 5000*magnet_running;
    			_nearLoot = [];
    			_activationDistance = _activationDistance min 800;
    			while{call compile format["%1_esp_t",_prefix]} do {
    			    _nearLoot = [];
    			    {
    			        _nearLoot = _nearLoot + ((getpos player) nearObjects [_x,850]);
    			    } forEach _objects;
    				{
    					_distance = player distance _x;
    					if(_distance < _activationDistance) then {
    						call compile format ["
    						if !(_x in %1_esp) then { 
    							%1_esp = %1_esp + [_x]; 
    							[_x,_activationDistance,_layer,'%1'] spawn _drawESP;
    							_layer = _layer + 1;
    						};
    						",_prefix];
    					};
    				} forEach _nearLoot;
    			};
    	    };
    		disableeffects = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			hint 'Bullet Hit Effects Have Been Removed';
    			dayz_bulletHit = {};
    		};
    	};		
        ['Functions'] call {
			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
            loadmain = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			cheatlist = menuheader + menumain;
    			[] spawn fillCheats;
    		};
    		loadtarget = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			cheatlist = menuheader + menutarget;
    			[] spawn fillCheats;
    		};
    		espM = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			cheatlist = menuheader + menuesp;
    			[] spawn fillCheats;
    		};
    		funM = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			cheatlist = menuheader + menufun;
    			[] spawn fillCheats;
    		};
    		I_M = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			cheatlist = menuheader + itemmagnet;
    			[] spawn fillCheats;
    		};
    		currentCheatMenu = "";
    		fillCheats = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			disableSerialization;
    			if(!isNull (findDisplay 3030)) then {
    				_display = (findDisplay 3030);
    				_left = _display displayctrl 1;
    				_counter = 0;
    				lbClear _left;
    				{
    					_left lbAdd (_x select 0);
    					if((_x select 2)) then {
    						_bool= call compile (_x select 3);
    						if(_bool) then {
    							_left lbSetColor [_counter,[0,1,0,1]];
    						} else {
    							_left lbSetColor [_counter,[1,0,0,1]];
    						};
    					} else {
    						_left lbSetColor [_counter,[1,1,1,1]];
    					};
    					_counter = _counter + 1;
    				} forEach cheatList;
    				_left ctrlCommit 0;
    			};
    		};
    		dbClicked = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			disableserialization;
    			_index = _this;
    			_item  = cheatlist select _index;
    			_text = _item select 0;
    			_cmd = _item select 1;
    			_isToggle = _item select 2;
    			_toggleVar = _item select 3;
    			_classname = _item select 4;
    			if(_isToggle) then {
    				call compile format["%1 = !%1",_toggleVar];
    				_bool= call compile _toggleVar;
    				if(_bool) then {
    					lbSetColor [1,_index,[0,1,0,1]];
    				} else {
    					lbSetColor [1,_index,[1,0,0,1]];
    				};
    			};
    			if(_classname != "") then {
    				if !(_classname in A11) then {
    					currentCheatMenu = _classname;
    				};
    				if(_classname == "target") then {
    					_classname = lbText[2,lbCurSel 2];
    				};
    				[_classname] spawn _cmd;
    			} else {
    				[] spawn _cmd;
    			};
    			systemChat ("Hellitself Executed " + _text);	
    		};
    		refreshPlayers = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			disableSerialization;
    			if(!isNull (findDisplay 3030)) then {
    				_display = (findDisplay 3030);
    				_sel = lbCurSel _list;
    				_right = _display displayctrl 2;
    				lbClear _right;
    				_list = player nearEntities ["SurvivorBase",850];
    				{
    					_right lbAdd (name _x);
    				} forEach _list;
    				if(_list > _sel) then {
    					_right lbSetCurSel _sel;
    				};
    				_right ctrlRemoveAllEventHandlers "KeyDown";
    				_right ctrlCommit 0;
    			};
    		};
    		loadMenu = {
    			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    			systemChat "Hellitself Loading GUI...";
    			createDialog "RscConfigEditor_Main";
    			disableSerialization;
    			waitUntil{!isNull (findDisplay 3030)};
    			sleep 0.1;
    			_display = (findDisplay 3030);
    
    			_background = _display displayCtrl -1;
    			_background ctrlSetBackgroundColor [0,0,0,0.5];
    			_background ctrlCommit 0;
    			_title = _display displayCtrl 3;
    			_title ctrlSetText "";
    			[_title] spawn {
    				_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    				disableSerialization;
    				_ctrl = _this select 0;
    				_increasing = true;
    				_count = 0;
    				while{!isNull findDisplay(3030)} do {
    					_ctrl ctrlsettextcolor [random 1,random 1, random 1,1];
    					_ctrl ctrlCommit 0;
    					sleep 0.1;
    				};
    			};
    			_title ctrlSetPosition [safezoneX+safeZoneH/2, safezoneY-safezoneh/2.1, safezonew, safezoneh];
    			_title ctrlCommit 0;
    
    			_left = _display displayctrl 1;
    			_left ctrlRemoveAllEventHandlers "LBSelChanged";
    			_left ctrlRemoveAllEventHandlers "LBDblClick";
    			_left ctrlRemoveAllEventHandlers "MouseButtonDown";
    			_left ctrlRemoveAllEventHandlers "KeyDown";
    			_left ctrlAddEventHandler ["LBDblClick","_fnc_scriptName = if (isnil ""_fnc_scriptName"") then {""Functions Init""} else {_fnc_scriptName};(_this select 1) spawn dbClicked;"];
    			_left ctrlCommit 0;
    			[] spawn loadmain;
    
    			[] spawn {
					while{!isNull findDisplay(3030)} do {
						[] spawn refreshPlayers;
    					sleep 15;
    				};
    			};
    			systemChat "Hellitself Menu Ready!";
    		};
        };
		['Menus'] call {
			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
     		menuheader = [
    			["-- Main Menu --",loadmain,false,"",""],
    			["-- Target Menu --",loadtarget,false,"",""],
    			["-- ESP Menu --",espM,false,"",""],
    			["-- Item Magnet --",I_M,false,"",""],
    			["-- FUN Menu --",funM,false,"",""]
    		];
    		menumain = [
    			["Speedhack",SpeedA,true,"SpeedA_toggle",""],
    			["Speedhack Pro",SpeedB,true,"SpeedB_toggle",""],
    			["Speedhack Crazy",SpeedC,true,"SpeedC_toggle",""],
    			["TP Up",TP_Up,false,"",""],
    			["TP Down",TP_Down,false,"",""],
                        ["                ",nothing,true,"",""],
    			["MapM",MapM,false,"",""],
    			["RefillGas",RefillGas,true,"RefillGas_toggle",""],
    			["Unrestrain Yourself",unrestrain,false,"",""],
    			["Inject-Morphine",Morphine,false,"",""],
    			["DUPE PLAYER BODY",dupebody,false,"",""],
    			["Bowen Executer",executer,false,"",""],
    			["Suicide",killme,false,"",""],
                        ["                ",nothing,true,"",""],
    			["Super Punch(~)",super_punch,true,"super_punch_toggle",""],
    			["Super Punch Bullets(~)",super_punch_bullets,true,"super_punch_toggle_bullets",""],
    			["Super Punch Gernade(~)",super_punch_gernade,true,"super_punch_toggle_gernade",""],
                        ["                ",nothing,true,"",""],
    			["Hide Buildings",hidebuildings,true,"toggle_13",""],
    			["No Collide",nocollide,true,"toggle_4",""],
    			["FPS boost",FPS_Boost,true,"toggle_FPS",""],
    			["Day Time",DayTime,false,"",""],
    			["Removed Dayzed Effect",remove_dayzed,true,"remove_dayzed_toggle",""],
    			["Remove Rain",remove_rainCheck,true,"remove_rainCheck_toggle",""],
    			["No Grass",removegrass,true,"toggle_5",""],
    			["No Recoil",lysticrecoil,true,"toggle_10",""],
    			["Fast Shoot",fastshoot,true,"toggle_8",""],
    			["Infinite Ammo",infammo,true,"toggle_3",""],
                        ["                ",nothing,true,"",""],
                        ["Disarm All",Disarmall,true,"Disarmall_toggle",""],
                        ["ZombiesShield",zshield,true,"toggle_14",""],
                        ["PlayerShield",pshield,true,"toggle_15",""],
                        ["NUKE",reknearplayers,true,"reknearplayers_toggle",""]
    		];
    		menutarget = [
    			["Show GUID",ShowGuid,false,"","target"],
    			["Kill Target",killtarget,false,"","target"],
                        ["Kill Target v2",kplayer,false,"","target"],
                        ["Disarm Player",disarmp,false,"","target"],
                        ["KnockOut Player",knockOut,false,"","target"],
                        ["ViewPlayer",ViewPlayer,false,"","target"],
                        ["Spectate",Spectate,false,"","target"]
    		];
                menuesp = [
    			["Player ESP",dayz_esp_2,true,"dayz_esp_toggle",""],
    			["Zombie ESP",dayz_esp_3,true,"dayz_esp_toggle_z",""],
    			["DeadBody ESP",DeadBodies_es,true,"DeadBodies_es_toggle",""],
    			["Car ESP",Car_es,true,"Car_es_toggle",""],
    			["Helicrash ESP",Heliesp,true,"dayz_esp_toggle_heli",""],
                        ["                ",nothing,true,"",""],
    			["Cloth ESP",Cloth_es,true,"Cloth_es_toggle",""],
    			["backpack ESP",backpack_es,true,"backpack_es_toggle",""],
    			["headgear ESP",headgear_es,true,"headgear_es_toggle",""],
    			["topwear ESP",topwear_es,true,"topwear_es_toggle",""],
    			["bottomwear ESP",bottomwear_es,true,"bottomwear_es_toggle",""],
    			["footwear ESP",footwear_es,true,"footwear_es_toggle",""],
    			["vest ESP",vest_es,true,"vest_es_toggle",""],
    			["gloves ESP",gloves_es,true,"gloves_es_toggle",""],
                        ["                ",nothing,true,"",""],
    			["weapons ESP",weapons_es,true,"weapons_es_toggle",""],
    			["attachment ESP",attachment_es,true,"attachment_es_toggle",""],
    			["ammo ESP",ammo_es,true,"ammo_es_toggle",""],
    			["melee ESP",melee_es,true,"melee_es_toggle",""],
                        ["                ",nothing,true,"",""],
    			["medical ESP",medical_es,true,"medical_es_toggle",""],
    			["tent ESP",tent_es,true,"tent_es_toggle",""]

                ];
                itemmagnet = [
    			["item-magnet",itemmagnet,false,"",""],
    			["vehicles-magnet",tpvehicles,false,"",""],
    			["weapons-magnet",tpweps,false,"",""],
    			["food-magnet",tpfood,false,"",""]
                ];
                menufun = [
    			["Fire Trail",firetrail,true,"toggle_12",""],
                        ["TakeAShit",TakeAShit,false,"",""],
    			["PlayerVomit",PlayerVomit,false,"",""]
                ];
		};
		['Display Keybind'] call {
			_fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    		(findDisplay 46) displayAddEventHandler ["KeyDown",'
    		    _fnc_scriptName = if (isnil "_fnc_scriptName") then {"Functions Init"} else {_fnc_scriptName};
    		    if((_this select 1) == 211) then {
    	            if(isNull (findDisplay 3030)) then {
    	                [] spawn loadMenu;
    	            };
    		    };
    		    false
    		'];
		};
		hint parseText "Hellitself Menu Loaded<br/><t size='0.7'>press DELETE to start</t>";
		systemChat "Hellitself Menu Injected!";
		closedialog 0;
	};
	[] spawn _menu;
};
cridits:
lystical <for the UI>
Hangender <scripts>
Jun <scripts>
mizzle <scripts>
Hellitself panel Ultimate v2.txt79 KB · 582 downloads Clean
I need wrote this to text doc yes? But where i need to drop this ?
Do you know where I could get a script executor to execute this script or a tutorial or something? Thanks ^~^
Quote Originally Posted by Trolburger123 View Post
Do you know where I could get a script executor to execute this script or a tutorial or something? Thanks ^~^
Download any other reliable hack that has at least one performed and paste the script in it.
How it works ? How can i use it ?
Can you give me the strings to inject it? I already have an undetected CE
Hey,

what key to pull up the script? or is it still going into the ingame menu and it pops it up?
Quote Originally Posted by Leidan117 View Post
Hey,

what key to pull up the script? or is it still going into the ingame menu and it pops it up?
the key is delete.
So I got a executer but where to I put the code?
Quote Originally Posted by Armandojr18 View Post
So I got a executer but where to I put the code?
In the executor, then execute it..?
For some reason the Script wont execute for me..
How to use this,can someone tell me step by step,please?Would very appreciate it !
Posts 115 of 23 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?