Raised This Month: $52 Target: $400
 13% 

TOGs Cvar Checker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Plugin ID:
4206
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows admins to check cvar settings for a player using either of two methods
    Old 05-17-2014 , 18:34   TOGs Cvar Checker
    Reply With Quote #1

    Description
    This plugin allows you to check cvar settings for a player using either of two methods (QueryClientConVar and GetClientInfo). It also has a command for checking a lot of typical rates settings for a given player.

    Notes
    • Some cvars are protected by valve (e.g. "password") and cannot be retrieved.
    • Method 1 (QueryClientConVar, sm_checkcvar) is the best for most any CVar, and some (e.g. fps_max) can only be retrieved using method 1. If I remember correctly, there were a few CVars that method 2 (GetClientInfo, sm_checkinfo) worked better...
    • THIS ONLY LISTS THE VALUE THEY SET THE CVAR AS. If the server overrides it, that will not show. e.g. if the server enforces 66-tick, and they have cl_updaterate set to 101, it will return 101, although in reality the server is forcing them to 66.
    • Commands can be accessed by any player with the flags defined from CVar togcvar_accessflag.

    Admin Commands:
    sm_checkcvar <target> <cvar> - Check CVar value of a player.
    sm_checkinfo <target> <cvar> - Check replicated CVar info of a player.
    sm_cvarlist <target> - Check list of CVar values for a player.
    Attached Files
    File Type: sp Get Plugin or Get Source (togcvarchecker.sp - 82 views - 9.9 KB)
    File Type: smx togcvarchecker.smx (12.4 KB, 68 views)
    __________________

    Last edited by ThatOneGuy; 08-12-2017 at 11:17. Reason: Updated to combine with another CVar Checking plugin of mine, and change to new syntax, update code, etc.
    ThatOneGuy 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 08:41.


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