Forum

> > CS2D > Scripts > Endround
Forums overviewCS2D overview Scripts overviewLog in to reply

English Endround

2 replies
To the start Previous 1 Next To the start

old Endround

tos12345678
User Off Offline

Quote
Hello there,
I have a problem with endround hook
I would like a script using endround or other which every endround will:
1
2
if homebuy2[id]==1 then
homebuy2[id]=homebuy2[id]-1
for each player

old Re: Endround

Bowlinghead
User Off Offline

Quote
1
2
3
4
5
6
7
-- untested
addhook("endround","hey")
function hey()
	for _,id in ipairs(player(0,"table")) do
		-- your code for each player
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview