Raised This Month: $ Target: $400
 0% 

TF2 Restart Round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Staats
Junior Member
Join Date: Jul 2008
Old 07-05-2008 , 15:36   TF2 Restart Round
Reply With Quote #1

How can I force a new round in TF2? I'm working on a scramble plugin and would like to be able to restart or move to the next round after scrambling.
Staats is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 07-05-2008 , 17:17   Re: TF2 Restart Round
Reply With Quote #2

mp_restartgame 1?
bl4nk is offline
Staats
Junior Member
Join Date: Jul 2008
Old 07-05-2008 , 17:23   Re: TF2 Restart Round
Reply With Quote #3

Er, whoops. Guess I never thought to execute a server command directly. Thanks!
Staats is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 06-05-2013 , 21:59   Re: TF2 Restart Round
Reply With Quote #4

Quote:
Originally Posted by Staats View Post
Er, whoops. Guess I never thought to execute a server command directly. Thanks!
mp_restartgame is a cvar, so you should use SetConVarInt instead of ServerCommand.
__________________
Dr. McKay is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 06-06-2013 , 06:05   Re: TF2 Restart Round
Reply With Quote #5

This thread's nearly 5 years old.
bl4nk is offline
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 06-08-2013 , 11:44   Re: TF2 Restart Round
Reply With Quote #6

Quote:
Originally Posted by bl4nk View Post
This thread's nearly 5 years old.
Shh, they'll never know
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.
Requiesta is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode