Raised This Month: $ Target: $400

[ANY] ConVar Suppression

Thread Tools Display Modes
Prev Previous Post   Next Post Next
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Plugin ID:
Plugin Version:
Plugin Category:
Server Management
Plugin Game:
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Suppresses ConVars from printing to clients when they change.
    Old 07-23-2012 , 22: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

    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 - 2407 views - 2.5 KB)

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

    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump

    All times are GMT -4. The time now is 09:53.

    Powered by vBulletin®
    Copyright ©2000 - 2023, vBulletin Solutions, Inc.
    Theme made by Freecode