I've been working on a mod for a few days and it's almost complete. I have a few problems. I will describe them below:

OK. What I need is a thread that will detect and player tags and then peform some stuff. I have no idea where to start with that.

I also need to have a timer that runs at the same time as everyone else. I looked at a few Zombie mods and they seem to use level thread blahtimer(); at the end of the init() thread after level thread OnPlayerConnect():

[php]
init()
//blah blah
//blah blah
//end of the init() thread:

level.rankTable[rankId][1] = tableLookup( "mp/ranktable.csv", 0, rankId, 1 );
level.rankTable[rankId][2] = tableLookup( "mp/ranktable.csv", 0, rankId, 2 );
level.rankTable[rankId][3] = tableLookup( "mp/ranktable.csv", 0, rankId, 3 );
level.rankTable[rankId][7] = tableLookup( "mp/ranktable.csv", 0, rankId, 7 );

precacheString( tableLookupIString( "mp/ranktable.csv", 0, rankId, 16 ) );

rankId++;
rankName = tableLookup( "mp/ranktable.csv", 0, rankId, 1 );
}

maps\mp\gametypes\_missions::buildChallegeInfo();

level thread patientZeroWaiter();

level thread onPlayerConnect();

level thread blahtimer(); // <------
}[/php]

However, when I try that with mine, the timer doesn't appear but it does when I try under OnPlayerSpawned()!

This is what my timer thread looks like:

[php]playertimer()
{
level.counter = 60;
while(level.counter > 0)
{
level.TimerText setText("^1Player will be chosen in: " + level.counter);
wait 1;
level.counter--;
}
level.TimerText setText("");
level thread doPickPlayer();
}[/php]

One last question (shouldn't be TOO hard). How can you make Free-For-All have only one life?
scr_dm_numlives doesn't work because you respawn after you die.
EDIT - Just realised I posted in the wrong section Please move to Help section!