Raised This Month: $51 Target: $400
 12% 

[ANY] ConVar Suppression


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



    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 18:52.


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