Waiting for a game to start
MW3 Server Hosting Support
2
Posts
1
Posters
71
Views
1
Watching
-
Hey! I want to start my server, but I want there to be a wait time before the game starts!

I was using:
set scr_game_playerwaittime "90"-> But if the minimum number of players connects, it cancels the countdown.
set scr_game_matchstarttime "90"-> It works, but for search and destroy, for example, it resets to 90 at the end of each round.
set scr_game_roundstarttime "5"-> It does nothing...I tried using GSC, but without success...

`Init()` `level thread` `ForcePreMatchDelay()`; } `ForcePreMatchDelay()` `level waittill("connected");` `wait 90;` }Any ideas?

-
I made this ..that works
Init() { level thread ForcePreMatchDelay(); } ForcePreMatchDelay() { level waittill("connected"); currentDelay = getDvarInt("scr_game_matchstarttime"); wait currentDelay; setDvar("scr_game_matchstarttime", "10"); }