THX for help
Scripts
Zombie HP
Zombie HP
1

for _,npcid in pairs(object(0,"table")) do
	if object(npcid,"health")==150 and object(npcid,"type")==30 then
		parse("damageobject "..npcid.." -1850 0")
	end
end
addhook('spawn','_spawn')
function _spawn(id)
if player(id,"team")==1 then
parse('setmaxhealth '..id..' 250')
parse('sethealth '..id..' 250')
else
parse('setmaxhealth '..id..' 100')
parse('sethealth '..id..' 100')
end
no but i need more than 250 HP
Yates - ExtraHP Lua
More HP v2
CaneCorso: Actually, you are wrong. Zombies are actually team 1(Terrorists). Every zombie script, they use team 1. Every human is on team 2.
iii: Your lua script has errors. First of all, you did not put a addhook, which leads into a error because it wasnt functioned. Next, you forgot to put on tabs (It's what causes your lua's to get erros).addhook("spawn","_spawn")
function _spawn(id)
	if player(id,"team")==1 then
	parse('setmaxhealth '..id..' 250')
	parse('sethealth '..id..' 250')
else
	if player(id,"team")==2 then
	parse('setmaxhealth '..id..' 100')
		parse('sethealth '..id..' 100')
		end
	end	
end
iii said, you need to look in the file archive for extra hp scripts
D-D3ADxPro has written
CaneCorso: Actually, you are wrong. Zombies are actually team 1(Terrorists). Every zombie script, they use team 1. Every human is on team 2.
iii: Your lua script has errors. First of all, you did not put a addhook, which leads into a error because it wasnt functioned. Next, you forgot to put on tabs (It's what causes your lua's to get erros).addhook("spawn","_spawn")
function _spawn(id)
	if player(id,"team")==1 then
	parse('setmaxhealth '..id..' 250')
	parse('sethealth '..id..' 250')
else
	if player(id,"team")==2 then
	parse('setmaxhealth '..id..' 100')
		parse('sethealth '..id..' 100')
		end
	end	
end
iii said, you need to look in the file archive for extra hp scripts
1
