I have a problem with endround hook
I would like a script using endround or other which every endround will:
1
2
2
if homebuy2[id]==1 then homebuy2[id]=homebuy2[id]-1
Scripts
Endround
Endround
1

if homebuy2[id]==1 then homebuy2[id]=homebuy2[id]-1
-- untested
addhook("endround","hey")
function hey()
	for _,id in ipairs(player(0,"table")) do
		-- your code for each player
	end
end
1
