LightbulbDAYZ MOD SCRIPTS

Posts 18 of 8 · Page 1 of 1
DAYZ MOD SCRIPTS
Hey MPGH Today I am Releasing some scripts that I had. I am not sure if they still work, but they should. JUST USE A WORKING BYPASS AND INFISTAR BYPASS FOR GODMODE!!


+2500 Humanity
Code:
turnHero = {
	private ["_humanity"];
	[dayz_playerUID,dayz_characterID,"Survivor3_DZ"] spawn player_humanityMorph;
	_humanity = player getVariable["humanity",0];
	player setVariable["humanity",_humanity+2500,true];
	sleep 0.1;
	systemChat format["[Console] 2500 Humanity Added"];
	sleep 0.1;
	[Ben_p2]SPAWN MENU_Cycle;
};
Zed Shield
Code:
Z_be_GONE = {
	if (isNil "Z_ed_gone") then {Z_ed_gone = 0;};
	if (Z_ed_gone == 0) then {
		Z_ed_gone = 1;
		cutText [format["Zed-Shield ON for 35m"],"PLAIN DOWN"];		
		systemChat format["[Console] zed - shield ON"];
	} else {
		Z_ed_gone = 0;
		systemChat format["[Console] zed - shield Off"];
		cutText ["ZedShield OFF","PLAIN DOWN"];
	};

	while {Z_ed_gone == 1} do 
	{
		_mii = player;
		{
			if (!isNull _x) then {
				if !(isPlayer _x) then {
					deleteVehicle _x;
				};
			};
		} forEach (vehicle _mii nearEntities ["zZombie_Base",35]);
		Sleep 1;
	};
};
God Mode
Code:
God = {
	if (isNil "GodMode") then {GodMode = 0;};
	if (GodMode == 0) then {
		_mi = player;
		_me = (vehicle _mi);
		_handel_the_D = "handleDamage";
		player setVariable ["NORRN_unconscious",false,true];
		hint 'God ON';
		cutText ['God ON', 'PLAIN'];
		systemChat format["[Console] God ON"];

		fnc_usec_damageHandler = {};	
		_me removeAllEventHandlers _handel_the_D;
		GodMode = 1;
	} else {
		GodMode = 0;
		hint 'God OFF';
		cutText ['God OFF', 'PLAIN'];
		systemChat format["[Console] God OFF"];
		
		fnc_usec_damageHandler = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\fn_damageHandler.sqf';
		_me allowDamage true;
		_me addeventhandler [_handel_the_D,{_this call fnc_usec_damageHandler;} ];
	};

	while {GodMode == 1} do
	{
		r_player_blood = 11998;
		r_player_inpain = false;
		r_player_infected = false;
		r_player_injured = false;
		r_player_handler1 = false;
		r_player_timeout = 0;
		r_player_unconscious = false;
		r_fracture_legs = false;
		r_fracture_arms = false;
		r_player_injured = false;
		dayz_hunger = 0;
		dayz_thirst = 0;
		dayz_temperatur = 38;
		_me allowDamage false;
		_me removeAllEventhandlers _handel_the_D;
		_me addEventhandler [_handel_the_D, {false}];
		_me setVehicleAmmo 1;
		_me setDamage .0;
		_me setFuel 0.8;
		Sleep 0.5;
	};
};
Unlimited Ammo
Code:
u_kind_ammo = {
	private ["_agent","_damage","_loot","_mags","_selection","_wep"];
	if (isNil "UnlimitedA") then {UnlimitedA = 0;};
	if (UnlimitedA == 0) then {
		UnlimitedA = 1;
		cutText ["ON", "PLAIN DOWN"];
		systemChat format["[Console] Unl Ammo ON"];
	} else {
		UnlimitedA = 0;
		cutText ["OFF", "PLAIN DOWN"];
		systemChat format["[Console] Unl Ammo OFF"];
	};

	while {UnlimitedA == 1} do {
		_wep = (currentWeapon player);

		if ((_wep != "") && ((player ammo _wep) == 0)) then {
			_agent = vehicle player;
			_mags = getArray (configFile >> "cfgWeapons" >> currentWeapon _agent >> "magazines");
			_loot = _mags select 0;
			_agent addMagazine _loot;
		};
		sleep 3;
		waitUntil {(_wep != "") && ((player ammo _wep) == 0)};
	};
};
+1 Million Coins
Code:
};
Coins = {
	[]spawn {
		private["_COINADD","PVDZE_plr_Save","PVDZE_bank_Save"];
		_COINADD = 1000000;
		_cash_m = "cashMoney";
		_c_c_g = "ccgwealth";

		player setVariable["ccgwealth",_COINADD,true];
		player setVariable["wealth",_COINADD,true];
		player setVariable["headShots",_COINADD,true];
		player setVariable["cashMoney",_COINADD,true];
		PVDZE_plr_Save = [player,(magazines player),true,true];
		PVDZE_bank_Save = [player];
		systemChat format["[Console]: Setting coin total to %1", _COINADD];
	};
};
Hey MPGH If you want more comment for it.
Might be wrong but i think that all of these are old now lul, but change the variables and do some more fixing it should be great and working
You forgot to mention you stole these from freddie
Quote Originally Posted by PureBrainH View Post
Might be wrong but i think that all of these are old now lul, but change the variables and do some more fixing it should be great and working
Yeah I know, But the reason I didn't release it with it updated is because the skids will get to them and get it completely detected.

- - - Updated - - -

Quote Originally Posted by Karijn View Post
You forgot to mention you stole these from freddie
Actually I didn't. "Freddie" Didn't make these. If I am correct Freddie runs a site in which he uses engine hacks, no? So if it is an engine hack, then how did I steal scripts num nuts.
lol these are some antique shit
Nice post! Ill be using them! Thanks
thanks works for me
Posts 18 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?