View Single Post
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 02-07-2014 , 18:08   Re: [TF2] Class Target Filters
Reply With Quote #9

Quote:
Originally Posted by ddhoward View Post
As I'm sure you're already aware, StrContains returns -1 if the string was NOT found. So you're setting bOpposite to true if ! was NOT in the @filter.

Also, you should add this to OnPluginEnd(). Unlike most other things, Sourcemod does NOT seem to automatically handle this when a plugin is unloaded.
I released this plugin with relatively no testing, thanks for catching that. Updated with the above changes.

Last edited by ReFlexPoison; 02-07-2014 at 18:09.
ReFlexPoison is offline