Firstly all players will be teror. On the startround just one player will join ct it will be random. It will be same with endround.
My try;
Thanks all.
addhook('endround', 'endround_hook') function endround_hook(mode) 	for k, v in pairs(player(0, 'team2')) do 		parse('maket '.. v) 	end 	parse('makect '.. player(0, 'team1')[math.random(1, #player(0, 'team1'))]) end
parse('maket '.. player(0, 'team1')[math.random(1, #player(0, 'team1'))])