Random player in T is Boss - bosst[id]=1
Random player in CT is Boss - bossct[id]=1
Only it.
function choose_bosses() 	local T_ids={} 	local CT_ids={} 	local boss_ids={} 	for i=1,32 do 		if player(i,"team")==1 then 			T_ids[i] 		else 			CT_ids[i] 		end 	end 	boss_ids[0]=T_ids[math.random(0,#T_ids) 	boss_ids[1]=CT_ids[math.random(0,#CT_ids) 	return boss_ids end
bosses = choose_bosses() parse("equip "..bosses[0].." 82") parse("equip "..bosses[1].." 82")
function choose_bosses() 	local tbl = {} 	tbl[0] = player(0,"team1")[math.random(1,#player(1,"team1"))] 	tbl[1] = player(0,"team2")[math.random(1,#player(1,"team2"))] 	return tbl end
bosses = choose_bosses() CTboss[bosses[1]]=1 Tboss[bosses[0]]=1