View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-24-2012 , 12:29   Re: [ANY] ConVar Suppression
Reply With Quote #7

Quote:
Originally Posted by Powerlord View Post
It amuses me that your code only checks the first letter. So, if I were to write
Code:
sm_suppressconvar mp_restartgame do
it would disable mp_restartgame's reporting.
Awesome optimization there.

Quote:
Originally Posted by Powerlord View Post
It seems like a lot more work to hook server_cvar and do it there rather than just stripping FCVAR_NOTIFY from the cvar, though...
Stripping FCVAR_NOTIFY would remove them from the A2S_RULES response.
__________________
asherkin is offline