Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. MW3 Server Hosting Support
  3. Waiting for a game to start

Waiting for a game to start

Scheduled Pinned Locked Moved MW3 Server Hosting Support
2 Posts 1 Posters 168 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hikinataundefined Offline
    hikinataundefined Offline
    hikinata
    wrote on last edited by hikinata
    #1

    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?👍

    1 Reply Last reply
    0
    • hikinataundefined Offline
      hikinataundefined Offline
      hikinata
      wrote on last edited by hikinata
      #2

      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");
      }
      
      1 Reply Last reply
      1

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Unread 0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups