THX for help
![](img/smiles/heart.gif)
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
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
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