Thread: [TF2] MatchMod
View Single Post
Hawkeye-
Senior Member
Join Date: Jan 2009
Old 09-22-2009 , 03:38   Re: [TF2] MatchMod
Reply With Quote #13

Details on the check..

SourceTV must be active when the plugin loads the way I have it written currently.

PHP Code:
public OnPluginStart()
{
 
mm_recording GetConVarInt(g_cvar_tvenable);

I suspect your enabling SourceTV after the plugin is loading, so what you can do is move the above line to InitializeVariables() private function which is checked at game time as opposed to plugin load. This is just off the top of my head, so mileage may vary a bit.

Next release I will move the check to make sure its a gametime check like all the other variables.

Also, I will be handling the config files a bit differently to accomodate the whitelist feature valve just dropped in. Since mp_tournament needs to be enabled at map load, the way I have things setup, it will never parse the whitelist. So I will be temporarily changing the servercfgfile cvar until the match is completed so a map change can be done during the sequence.

Last edited by Hawkeye-; 09-22-2009 at 04:00.
Hawkeye- is offline