View Single Post
Matthias Vance
Senior Member
Join Date: Jan 2009
Old 06-14-2010 , 14:42   Re: [TF2] Force Auto-Assign
Reply With Quote #6

Before I can approve this plugin, you have to make a couple of changes.
  • HookConVarChange() should be called in OnPluginStart(), since that is only fired once. OnConfigsExecuted() fires every time the configuration files are .. executed.
I also have a few tips.
  • Instead of calling FindConVar() for the same ConVar every time, cache it upon plugin start.
Matthias Vance is offline