1:TT can't attack CT and TT can't attack TT ,but they are'nt god
2:When breakable block is destroyed with name S12 set all player's pos to xxx
addhook('Map', '_EasyScript') parse (ct, DontAttack_T) parse (T, DontAttack_ct) return 99999999 end addhook('when', 's12') if variable=s12 == dead the parse('setpos all xxx xxx') return 99999999 end end end
addhook('Map', '_EasyScript') parse (ct, DontAttack_T) parse (T, DontAttack_ct) return 99999999 end addhook('when', 's12') if variable=s12 == dead the parse('setpos all xxx xxx') return 99999999 end end end
addhook("hit","hhhit") function hhhit(id,src) if (player(id,"team")==1 or player(id,"team")==2) and player(src,"team")==1 then return 1 end end
addhook("break","headhunter") function headhunter(x,y) if ((x==x and y==y) or (x==x and y==y)) then --breakable position you dont need name,you can use or for more breakable teleport for _,id in ipairs(player(0,"table")) do parse("setpos "..id.." x y") end end end
return 1
return 1
addhook('Map', '_EasyScript') parse (ct, DontAttack_T) parse (T, DontAttack_ct) return 99999999 end addhook('when', 's12') if variable=s12 == dead the parse('setpos all xxx xxx') return 99999999 end end end
addhook("hit","hhhit") function hhhit(id,src) if (player(id,"team")==1 or player(id,"team")==2) and player(src,"team")==1 then return 1 end end
addhook("break","headhunter") function headhunter(x,y) if ((x==x and y==y) or (x==x and y==y)) then --breakable position you dont need name,you can use or for more breakable teleport for _,id in ipairs(player(0,"table")) do parse("setpos "..id.." x y") end end end
addhook("hit","_hit") addhook("break","_break") breakable={} for tmpx=0,map("xsize") do 	for tmpy=0,map("ysize") do 		if entity(tmpx,tmpy,"name")=="s12" then 			breakable[tmpx..tmpy]=true function _hit() --doesn't matter ignore all damage return 1 end function _break(x,y) 	if breakable[tmpx..tmpy]~=nil then 		for _,id in player(0,"tableliving") do 			parse("setpos "..id.." 100 100") 		end 		breakable[tmpx..tmpy]=nil 	end end
addhook('Map', '_EasyScript') parse (ct, DontAttack_T) parse (T, DontAttack_ct) return 99999999 end addhook('when', 's12') if variable=s12 == dead the parse('setpos all xxx xxx') return 99999999 end end end