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

[TF2] Custom Backpack Viewer


  • 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 489
  • Lokalizacja:AMXX.PL
Offline

Napisano 29.10.2014 05:41

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Impact"><div align="center"><font size="6">[TF2] Custom Backpack Viewer</font></div></font><br /><div align="center"><font size="2"><i>v1.0.0</i></font></div><br /><b><font size="4">Description:</font></b><br />Implements the !bp (and !backpack) command which is ubiquitous across TF2 trade servers, but allows players to customize their viewer preference with the !settings menu. By default it supports <a href="http://backpack.tf/p...561198006409530" target="_blank">Backpack.tf</a>, <a href="http://bazaar.tf/backpack/76561198006409530" target="_blank">Bazaar.tf</a>, <a href="https://steamcommunity.com/profiles/76561198006409530/inventory#440" target="_blank">Steam</a>, <a href="http://tf2b.com/tf2/76561198006409530" target="_blank">TF2B</a>, <a href="http://www.tf2items.com/profiles/76561198006409530" target="_blank">TF2Items</a>, and <a href="http://www.traderep.org/backpack/76561198006409530" target="_blank">TradeRep</a>.<br /><br />You can add your own viewers if your preference isn't already implemented. The backpack_viewer.txt file (which goes under /addons/sourcemod/data) defines the available viewers. If you wish to customize it, <b>copy it to /addons/sourcemod/configs</b> first or else it may be overwritten when you update the plugin. Each viewer is defined in a section like this:<br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&quot;internalname&quot; // The internal name of the viewer, used in the backpack_viewer_default cvar and the client's cookie<br />{<br />&nbsp; &nbsp; &quot;name&quot;&nbsp; &nbsp; &quot;Viewer Name&quot; // The displayed name of the viewer<br />&nbsp; &nbsp; &quot;url&quot;&nbsp; &nbsp; &quot;http://example.com/backpack/{ID}&quot; // The URL to open. {ID} will be replaced with the target's Steam ID and {NAME} will be replaced with the target's name<br />&nbsp; &nbsp; &quot;idtype&quot;&nbsp; &quot;3&quot; // The type of Steam ID to replace {ID} with<br />}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Valid values for idtype are 0 (the format shown in the status command), 1 (STEAM_0:0:23071901 format), 2 ([U:1:46143802] format), and 3 (76561198006409530 format).<br /><br /><b>This plugin requires SourceMod version 1.6.3 or later.</b><br /><br /><b><font size="4">Commands:</font></b><br /><b>sm_backpack</b> - View the backpack of the player named in the command arguments, or the player you're aiming at. Opens a menu if no match.<br /><b>sm_bp</b> - Same as above<br /><br /><b><font size="4">Cvars:</font></b><br /><b>backpack_viewer_version</b> - plugin version<br /><b>backpack_viewer_auto_update</b> (default 1) - enables automatic updating (has no effect if Updater is not installed)<br /><b>backpack_viewer_default</b> (default &quot;traderep&quot;) - the default viewer to use for clients who haven't customized their preference (value should be the internal name of one of the available viewers)<br /><br />The internal names of the built-in viewers are backpacktf, bazaar, steam, tf2b, tf2items, and traderep.<br /><br /><b><font size="4">Installation:</font></b><br />Extract backpack_viewer.zip, upload its contents to your /addons/sourcemod directory, and reboot your server or type &quot;sm plugins load backpack_viewer&quot; into your console or rcon.<br /><br /><b><font size="4">Auto Update:</font></b><br />Install <a href="https://forums.allie...ad.php?t=169095" title="AlliedModders - Thread 169095">Updater</a>. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.<br /><br /><b><font size="4">Changelog:</font></b><ul><li><b>v1.0.0 (10/29/12)</b><ul><li>Initial release</li>
</ul> </li>
</ul><br /><b><font size="3"><a href="http://www.doctormck...backpack_viewer" target="_blank">Download Plugin (backpack_viewer.zip)</a></font></b></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