lol That's one way to stop the server doing anything :D

you could also do

for( int i = 0; i < 60000; i++ )
    for(int j = 0; j < 60000; j++ )
        for(int k = 0; k < 60000; k++ )



that would slow the server down quite a bit, but the best way would
probably be something like creating a boolean in your game rules, and
also a float

fx.

bool m_bGameStarted;
float m_flStartTime;

then setting m_flStartTime to gpGlobals->curtime + 10.0f or something.
and m_bGameStarted to false.

then in your think function add a check for if m_bGameStarted is
false, and if m_flStartTime is less than or equal to the current time
then change m_bGameStarted to true.


In your spawn function, whether it be the players or the gamerules
that checks if the player can spawn simply don't allow them to spawn
if m_bGameStarted is false.

There are a couple of things you will need to expand on to get it
working right but that's the general idea :D

Hope it helps

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

Reply via email to