Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

TOGs Cvar Checker v2


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 17.05.2014 23:34

<!-- 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. &quot;password&quot;) 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 &quot;ban&quot; flag.</li>
</ul><br /><b><font size="4">Admin Commands</font></b><br /><b>sm_checkcvar &lt;target&gt; &lt;cvar&gt;</b> - Checks the cvar value set by the target.<br /><b>sm_checkcvarall &lt;cvar&gt;</b> - Checks the cvar value for every player.<br /><b>sm_checkcvar2 &lt;target&gt; &lt;cvar&gt;</b> - Checks the cvar value set by the target (using method 2).<br /><b>sm_checkcvarall2 &lt;cvar&gt;</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=&#38;order=" target="_blank"><b><i>Servers using this plugin</i></b></a><br /><a href="http://www.sourcemod.net/plugins.php?cat=0&amp;mod=-1&amp;title=&amp;author=thatoneguy&amp;description=&amp;search=1" target="_blank"><i><b>&gt;&gt;&gt; Click here to check out my other plugins &lt;&lt;&lt;</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ł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych