Forum

> > CS2D > Scripts > Hide and seek with teamswitch
Forums overviewCS2D overview Scripts overviewLog in to reply

English Hide and seek with teamswitch

1 reply
To the start Previous 1 Next To the start

old Re: Hide and seek with teamswitch

Apache uwu
User Off Offline

Quote
I looked through the script, there isn't an instance of a team winning. However if you found where that happens you can simply plug in this script to switch the teams.

1
2
3
4
5
6
7
8
9
10
11
12
13
parse("mp_autoteambalance 0")

function switch()
	for _,id in pairs(player(0,"table")) do
		if player(id,"team")~=0 then
			if player(id,"team")==1 then
				parse("makect "..id)
			else
				parse("maket "..id)
			end
		end
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview