Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

[L4D & L4D2] Ammo Pile Spawner (1.0) [18-Jul-2013]


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

Napisano 18.07.2013 10:48

<!-- BEGIN TEMPLATE: postbit_external -->
<div><u><font size="3"><b>About<b></b>:</b></font></u><ul><li>Save up to 32 Ammo Piles for auto-spawning. Saved to <font color="Green">l4d_ammo_spawn.cfg</font> in your servers <font color="Green">addonssourcemoddata</font> folder.</li>
<li>1 model for L4D (coffee ammo), 2 for L4D2 (default and ammo crate).</li>
</ul><br /><br /><u><font size="3"><b>Thanks:</b></font></u><ul><li>Everyone who requested (lots of you), finally I bothered.</li>
<li>dcx2 - Helped testing.</li>
<li>Sev - Helped testing.</li>
</ul><br /><br /><u><font size="3"><b>Admin Commands:</b> (requires &quot;z&quot; flag)</font></u><br /><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">sm_ammo_spawn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Spawns&nbsp;a&nbsp;temporary&nbsp;ammo&nbsp;pile&nbsp;at&nbsp;your&nbsp;crosshair.&nbsp;Usage:&nbsp;sm_ammo_spawn&nbsp;[1=L4D&nbsp;model,&nbsp;2=L4D2&nbsp;model,&nbsp;2=L4D2&nbsp;Crate]
<br /></span><span style="color: #0000BB">sm_ammo_spawn_save&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Spawns&nbsp;an&nbsp;ammo&nbsp;pile&nbsp;at&nbsp;your&nbsp;crosshair&nbsp;and&nbsp;saves&nbsp;to&nbsp;config.&nbsp;Usage:&nbsp;sm_ammo_spawn_save&nbsp;[1=L4D&nbsp;model,&nbsp;2=L4D2&nbsp;model,&nbsp;2=L4D2&nbsp;Crate]
<br /></span><span style="color: #0000BB">sm_ammo_spawn_del&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Removes&nbsp;the&nbsp;ammo&nbsp;pile&nbsp;you&nbsp;are&nbsp;pointing&nbsp;at&nbsp;and&nbsp;deletes&nbsp;from&nbsp;the&nbsp;config&nbsp;if&nbsp;saved.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_kill&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Removes&nbsp;all&nbsp;ammo&nbsp;piles&nbsp;from&nbsp;the&nbsp;current&nbsp;map&nbsp;and&nbsp;deletes&nbsp;them&nbsp;from&nbsp;the&nbsp;config.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_glow&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Toggle&nbsp;to&nbsp;enable&nbsp;glow&nbsp;on&nbsp;all&nbsp;ammo&nbsp;piles&nbsp;to&nbsp;see&nbsp;where&nbsp;they&nbsp;are&nbsp;placed.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_list&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Display&nbsp;a&nbsp;list&nbsp;ammo&nbsp;pile&nbsp;positions&nbsp;and&nbsp;the&nbsp;total&nbsp;number&nbsp;of.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_tele&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Teleport&nbsp;to&nbsp;an&nbsp;ammo&nbsp;pile&nbsp;(Usage:&nbsp;sm_ammo_spawn_tele&nbsp;&lt;index:&nbsp;1&nbsp;to&nbsp;MAX_SPAWNS&nbsp;(32)&gt;).
<br /></span><span style="color: #0000BB">sm_ammo_spawn_ang&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Displays&nbsp;a&nbsp;menu&nbsp;to&nbsp;adjust&nbsp;the&nbsp;ammo&nbsp;pile&nbsp;angles&nbsp;your&nbsp;crosshair&nbsp;is&nbsp;over.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_pos&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Displays&nbsp;a&nbsp;menu&nbsp;to&nbsp;adjust&nbsp;the&nbsp;ammo&nbsp;pile&nbsp;origin&nbsp;your&nbsp;crosshair&nbsp;is&nbsp;over.&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><br /><u><font size="3"><b>CVars:</b></font></u><br /><br />Saved to <font color="Green">l4d_ammo_spawn.cfg</font> in your servers <font color="Green">cfgsourcemod</font> folder.<br /><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">//&nbsp;0=Plugin&nbsp;off,&nbsp;1=Plugin&nbsp;on.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_allow&nbsp;</span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;0=Off,&nbsp;Sets&nbsp;the&nbsp;max&nbsp;range&nbsp;at&nbsp;which&nbsp;the&nbsp;ammo&nbsp;pile&nbsp;glows.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_glow&nbsp;</span><span style="color: #DD0000">"200"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;0=Default&nbsp;glow&nbsp;color.&nbsp;Three&nbsp;values&nbsp;between&nbsp;0-255&nbsp;separated&nbsp;by&nbsp;spaces.&nbsp;RGB:&nbsp;Red&nbsp;Green&nbsp;Blue.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_glow_color&nbsp;</span><span style="color: #DD0000">"255&nbsp;0&nbsp;0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Turn&nbsp;on&nbsp;the&nbsp;plugin&nbsp;in&nbsp;these&nbsp;game&nbsp;modes,&nbsp;separate&nbsp;by&nbsp;commas&nbsp;(no&nbsp;spaces).&nbsp;(Empty&nbsp;=&nbsp;all).
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_modes&nbsp;</span><span style="color: #DD0000">""
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Turn&nbsp;off&nbsp;the&nbsp;plugin&nbsp;in&nbsp;these&nbsp;game&nbsp;modes,&nbsp;separate&nbsp;by&nbsp;commas&nbsp;(no&nbsp;spaces).&nbsp;(Empty&nbsp;=&nbsp;none).
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_modes_off&nbsp;</span><span style="color: #DD0000">""
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Turn&nbsp;on&nbsp;the&nbsp;plugin&nbsp;in&nbsp;these&nbsp;game&nbsp;modes.&nbsp;0=All,&nbsp;1=Coop,&nbsp;2=Survival,&nbsp;4=Versus,&nbsp;8=Scavenge.&nbsp;Add&nbsp;numbers&nbsp;together.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_modes_tog&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;-1=All,&nbsp;0=None.&nbsp;Otherwise&nbsp;randomly&nbsp;select&nbsp;this&nbsp;many&nbsp;ammo&nbsp;piles&nbsp;to&nbsp;spawn&nbsp;from&nbsp;the&nbsp;maps&nbsp;confg.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_random&nbsp;</span><span style="color: #DD0000">"-1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Ammo&nbsp;Pile&nbsp;Spawner&nbsp;plugin&nbsp;version.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_version&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><br /><u><font size="3"><b>Changes:</b></font></u><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">1.0 (18-Jul-2013)<br />&nbsp; &nbsp; - Initial Release.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><br /><u><font size="3"><b>Installation:</b></font></u><ol style="list-style-type: decimal"><li>Click &quot;<b>Get Plugin</b>&quot; and put the .smx file into your servers <font color="Green">addonssourcemodplugins</font> folder.</li>
</ol></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=122839"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1374142123">Get Source</a> (l4d_ammo_spawn.sp - 31.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