1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
if (player(0,"table")[curplayer]) then
	hale=player(0,"table")[curplayer]
	for _,i in ipairs(player(0,"table")) do
		if (i~=hale) then
			parse("makect "..i)
		end
	end
	parse("maket "..hale)
end
The code above is in a startround hook. The curplayer variable is defined. Why doesn't the code work? Please help. Thanks in advance.
Code doesn't work
1 
Offline
first: check if your script is executed properly. add console outputs for debugging