View Single Post
Author Message
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-23-2012 , 21:49   [ANY] ConVar Suppression
Reply With Quote #1

Huge thanks to Berni's Snippet.

What does this do?
Depends on what you do with it. However, the only function I'm immediately aware of is suppressing selected ConVar changes from being printed to chat.

Oh? Is that all?
Yes. Thanks!

... Are there any commands?
Indeed there are. As a matter of fact, there is only one.

sm_suppressconvar <convar> <enabled|disabled> - Whether to display changes of this ConVar to Chat or not.

Can you give an example?
Sure! sm_suppressconvar sm_nextmap enabled

THIS ALREADY EXISTS
Oh. Ok. Sorry! At this present time I'm unaware of any that are not hard coded.
Attached Files
File Type: sp Get Plugin or Get Source (ConVarSuppression.sp - 2473 views - 2.5 KB)

Last edited by KyleS; 07-24-2012 at 00:15. Reason: Evidently I cannot spell Suppression.
KyleS is offline