Hello everybody.

I'd like to change a little part of the HL2 Code to make the server wait for
everyp layer to be connected after a level change in Deathmatch. I have had a
look in the bool CServerGameDLL::LevelInit() function in GameInterface.cpp.

At the begining of the function I'd like to make the server wait for each player
before it restores or load any entity in the map. The only thing I have tried is
to put something like

"for ( int i = 0; i < 500000; i++ );"

but it didn't work as it has just slowed down the server instead of changing
it's state to something like "waiting". Does anyone know how I could request
the Engine to wait like 30 seconds for instance?

I hope somebody will help me because I do not find it out at all :-(
Best regards to all!


--Thomas TD

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to