[EDIT]: its not working the script doesnt select anyone as the killer and you cant buy anything!
And the scrore has to reset if you leave the game!
edited 5×, last 22.04.11 05:06:02 pm
addhook("endround","end") function start() 	for d = 1,32 do 		parse("makect "..d) 	end 	local p = player(0,"team2") 	local k = math.random(1,#p) 	if p[k]~=nil then 		parse("maket "..p[k]) 	else 		if k~=1 then 			k=k-1 			parse("maket "..p[k]) 		elseif k==1 then 			k=k+1 			parse("maket "..p[k]) 		end 	end end addhook("startround","start") function start() 	for w = 1,32 do 		if player(w,"team")==1 then 			parse("equip "..w.." "..ss) 			inv[w]=true 		end 	end end addhook("buy","buy") function buy(id) 	if player(id,"team")==1 then 		return 1 	end end addhook("hit","hit") function hit(id) 	if inv[id]==true 		return 1 	end end