Raised This Month: $51 Target: $400
 12% 

TF2 - Prevent map from changing at game over


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bianster
Junior Member
Join Date: Sep 2009
Old 02-18-2011 , 05:01   TF2 - Prevent map from changing at game over
Reply With Quote #1

I'm trying to prevent the map from being changed when the round ends due to the mp_timelimit being hit. The handler below for "teamplay_game_over" doesn't seem to block the map cycle from happening.

Code:
public eventGameOver(Handle:event, const String:name[], bool:dontBroadcast){  
  ServerCommand("mp_restartgame")
  return Plugin_Handled
}
How else should I go about doing this?
bianster is offline
spunkster21
Senior Member
Join Date: Aug 2008
Old 02-20-2011 , 04:16   Re: TF2 - Prevent map from changing at game over
Reply With Quote #2

Are you trying to achieve this for a server running a single map? If so, setting mp_timelimit to 0 will remove the time limit entirely. It may also be useful to set the following:

mp_winlimit 0
mp_maxrounds 0
spunkster21 is offline
bianster
Junior Member
Join Date: Sep 2009
Old 02-20-2011 , 04:50   Re: TF2 - Prevent map from changing at game over
Reply With Quote #3

Yes, it's for a short lived single map server. However I also want to limit the round time to a specified period.
bianster 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 01:45.


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