Hello Guys, i have the script finished.
But it doesn't work.
Here the script:

tdm.gsc
Code:
Callback_StartGameType()
	thread counter();
Code:
Callback_PlayerConnect()
{
	thread dummy();

	self.statusicon = "hud_status_connecting";
	self waittill("begin");
	self.statusicon = "";
	self thread freezeMe();

.....
}
And down of the all scripts in tdm.gsc:
Code:
counter()
{
	level.counter = 20;
	while(level.counter > 0)
		{
			wait 1;
			level.counter--;
		}
}

freezeMe()
	{
		self endon("disconnect");
		if(level.counter > 0) {
		self freezecontrols(true);
		self thread unfreezeMe();
				}
	}

unfreezeMe()
	{
		self endon("disconnect");
		wait level.counter;
		self freezecontrols(false);
	}
Now if the gametype starts, it will call the thread counter.
This give it a time and go down after a secound.
if somebody connect it will read which secound he is and he will freeze.

But nothing will happend. Somebody know why?

Thanks