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] Weapon Restrictions


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

Napisano 04.04.2014 22:26

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="4">Description</font><br />[TF2] Weapon Restrictions is a plugin to restrict weapons to only specific weapons and disallow all others.<br /><br />Weapon lists are loaded from configuration files in the sourcemod/configs/tf2-weapon-restrictions directory. Weapons can be specified either by class or by item definition index.<br /><br /><font size="4">Dependencies</font><br />SourceMod 1.5.0 or newer<br />TF2Items 1.6.0 or newer<br /><br /><font size="4">Features</font><ul><li>Weapon Restriction Lists can be changed on the fly.</li>
<li>Has a forward that is called whenever weapon sets are changed: <!-- 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">public TF2WeaponRestrictions_RestrictionChanged(const String:restrictionName[])</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></li>
<li>Plugins can change weapon sets using the native <!-- 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">TF2WeaponRestrictions_SetRestriction(const String:restrictionName[]);</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></li>
<li>Has options to restrict buildings, wearables, action slot items, etc...</li>
<li>Has option to default to blacklist (allow nothing except listed items) or whitelist (allow everything except listed items)</li>
<li>Sample files included are: melee (melee only, all classes), medieval (Medieval mode), meleeplus (not finished, imitates the TF2 Melee plugin's melee_mode 0 restrictions)</li>
</ul><br /><font size="4">CVars/Commands</font><br /><font size="3">CVars</font><ul><li>tf2_weapon_restrictions_version - Displays the version number</li>
<li>tf2_weapon_restrictions_enable - Set to 0 to disable plugin.</li>
</ul><br /><font size="3">Commands</font><ul><li>weaponrestrict [setname] - Loads a weapon restriction set. Set to &quot;none&quot; to unload all restrictions. Restricted to admin Kick flag by default.</li>
</ul><font size="4">Changelog<br /></font><br /><ul><li>2014-04-02 (1.0.0)<ul><li>Initial release</li>
</ul> </li>
</ul> <font size="4">Known Issues</font><ul><li>If an Engineer is alive when weapon loadouts are changed, his buildings will all be destroyed due to Valve's wrench change mechanic.</li>
<li>Switching item sets will heal all currently alive players to full.</li>
</ul><br /><font size="4">Future Plans</font><br /><ul><li> Eventually, this plugin will support changing weapons when a player spawns. However, this has one major drawback: Doing it for Engineer melee weapons will cause their buildings to blow up when they respawn.</li>
<li>Subplugins for voting will eventually come around</li>
<li>A subplugin for sudden death will probably be around soon.</li>
</ul></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.../attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1396646758">tf2-weapon-restrictions.zip</a> (37.1 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