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 Zone Restriction


  • 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 09.01.2016 20:32

<div><div align="center"><br /><font size="6">[TF2] Weapon Zone Restriction </font><br /></div><br /><font size="6"><font color="#2E64FE">Description</font><br /></font><br /><br />This plugin allow you to restrict the usage of some weapons in specific area, for exemple, no construction in some point, you restrict the PDA of the engineer, or you simply don't want to get backstabed on this spot ? Restrict the knife.<br /><br />Original idea here : <a href="https://forums.allie...38;postcount=1"target="_blank">https://forums.allie...tcount=1</a><br /><font color="Red"><br /><font size="4">Please, install Dev Zones first !</font></font><br /><a href="https://forums.alliedmods.net/showthread.php?p=2023591" target="_blank">https://forums.allie...=2023591</a><br /><br /><font size="6"><font color="#2E64FE">Bugs :</font><br /></font><br /><br /><i>None... yet.</i><br /><br /><font size="6"><font color="#2E64FE">Commands &amp; Cvar :</font><br /></font><br /><br /><b>Command</b><br /><br />sm_tf2wzr_rc - Reaload the config file, require admin flag config.<br /><br /><b>Cvar</b><br /><br />sm_tf2wzr_admin_immunity &quot;0&quot; - If set to 1, the admin with the flag SLAY will be affected as well by zones.<br /><br /><font size="6"><font color="#2E64FE">Installation :</font><br /></font><br /><br />1) Put TF2_WeaponZoneRestrictor.smx in your plugin folder : sourcemode/plugins<br />2) Restart server, reload map or reload plugins folder.<br />3) Find the config file in your configs folder (TF2_WeaponZoneRestrictor.ini) and add the item index you want to block :<br /><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">// Write your weapons id here. A list of all weapons ID can be found here :<br />// https://wiki.alliedm...tion_Indexes<br/>200<br />123<br />175<br />23<br />1<br />140<br />...</code><hr />
</div>4) Create the zones, using <a href="https://forums.allie....php?p=2023591"target="_blank">Dev Zones</a>, <b><font color="Red">your zone's name should contain &quot;TF2WZR_&quot;</font></b><br />5) Type sm_tf2wzr_rc to reload the config file and you are done !<br /><br />Require 'devzones.inc' to compille.<br /><br /><font size="6"><font color="#2E64FE">Request and think to do :</font><br /></font><br /><br /><i>None... yet !</i><br /><br /><font size="6"><font color="#2E64FE">Screenshot :</font></font><br /><br />(any for the moment)</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...trictor.smx</a>(6.9 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...62"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1452367929">GetSource</a> (TF2_WeaponZoneRestrictor.sp - 3.8 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




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

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