<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><font size="4">Description</font></b><br />This plugin allows you to check cvar settings for a player using either of two methods (QueryClientConVar and GetClientInfo).<br /><br /><u>Notes:</u><ul><li>Some cvars are protected by valve (e.g. "password") and cannot be retrieved.</li>
<li>I used an old targeting method when I wrote this, and havent cared enough to update it...as such, you cant target groups (e.g. @ct) other than @all. If there's enough request, I will update it.</li>
<li>Method 1 (QueryClientConVar) is the best for most any cvar. If I remember correctly, there were a few cvars that method 2 (GetClientInfo) worked better...</li>
<li>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.</li>
<li>Commands can be accessed by any admin with the "ban" flag.</li>
</ul><br /><b><font size="4">Admin Commands</font></b><br /><b>sm_checkcvar <target> <cvar></b> - Checks the cvar value set by the target.<br /><b>sm_checkcvarall <cvar></b> - Checks the cvar value for every player.<br /><b>sm_checkcvar2 <target> <cvar></b> - Checks the cvar value set by the target (using method 2).<br /><b>sm_checkcvarall2 <cvar></b> - Checks the cvar value for every player (using method 2).<br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Changelog</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br />05/17/14 (v2.1)<ul><li>Initial Release to AM</li>
</ul></div>
</div>
</div><br /><br /><b><font size="4">Installation</font></b><br />Place the .smx file in your cstrike/addons/sourcemod/plugins folder.<br /><br /><a href="http://www.gametrack...ort=&order=" target="_blank"><b><i>Servers using this plugin</i></b></a><br /><a href="http://www.sourcemod.net/plugins.php?cat=0&mod=-1&title=&author=thatoneguy&description=&search=1" target="_blank"><i><b>>>> Click here to check out my other plugins <<<</b></i></a></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...?file_id=133597"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1400365970">Get Source</a> (togcvarchecker_v2.sp - 7.6 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
TOGs Cvar Checker v2
Temat rozp. Adminek AMXX.PL, 17.05.2014 23:34
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych