Hack so zombies cant attack you??
Hello, I have a godmode script, but the zombies still do damage. Anyone have a script that dosnt let zombies attack you. Or do damage
if (isnil ("xZombieBait")) then
{
xZombieBait = false;
};
if (!xZombieBait) then
{
hint "Zombies are now nerf'd";
player_zombieCheck = {};
xZombieBait = true;
}
else
{
hint "Zombies are now Mike Tyson";
player_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf";
xZombieBait = false;
};

if (isNil "zombieshield") then {zombieshield = true;} else {zombieshield = !zombieshield};
if(zombieshield) then {titleText ["Zombie Shield activated!","PLAIN DOWN"]; titleFadeOut 4;};
while {zombieshield} do {
_pos = getPos player;
_zombies = _pos nearEntities ["zZombie_Base",10];
_count = count _zombies;
for "_i" from 0 to (_count -1) do
{
_zombie = _zombies select _i;
_zombie setDamage 1;
};
};
titleText ["Zombie Shield deactivated!","PLAIN DOWN"]; titleFadeOut 4;