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

Ultimate Fire in the Hole [Messages|Grenade Trail|Sounds]


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

Napisano 14.05.2016 21:08

<div><font face="Comic Sans MS"><b><font size="7"><div align="center"><font color="#FF0000">&lt;</font> <font color="#0000BF"> Ultimate Fire in the Hole</font> <font color="#FF0000">&gt;</font></div></font></b><br /><div align="center"><font color="#FF0000"><b>This plugin allows you to change the messages which show up when you throw a grenade (fire in the hole), to add custom trail with different colors, as well as different sounds for every grenade there is or completely block them.</b></font></div><br /><b><font size="4"><u><font color="#0000BF">Images:</font></u></font></b><br /><br /><img src="http://i.imgur.com/Iw0oG1i.jpg"border="0" alt="" /><br /><br /><a href="http://i.imgur.com/y40w0KW.jpg" target="_blank">http://i.imgur.com/y...w0KW.jpg</a><br /><br /><b><font size="4"><u><font color="#0000BF">Settings:</font></u></font></b><br /><br />The settings can be changed from the file <b><font color="#FF8000">configs/FireInTheHole.ini</font></b>:<br /><br /><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: #007700">[</span><span style="color: #0000BB">Messages&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">]<br />;</span><span style="color: #0000BB">3&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">TEAM_COLOR</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">GREY</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">5&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">RED</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">6&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">BLUE</span><span style="color: #007700">.<br /><br /></span><span style="color: #0000BB">MSG_HE&nbsp;</span><span style="color: #007700">=&nbsp;!</span><span style="color: #0000BB">t</span><span style="color: #007700">%</span><span style="color: #0000BB">name</span><span style="color: #007700">%&nbsp;!</span><span style="color: #0000BB">n</span><span style="color: #007700">(</span><span style="color: #0000BB">RADIO</span><span style="color: #007700">):&nbsp;</span><span style="color: #0000BB">Fire&nbsp;in&nbsp;the&nbsp;hole</span><span style="color: #007700">!&nbsp;!</span><span style="color: #0000BB">t</span><span style="color: #007700">[</span><span style="color: #0000BB">explosive</span><span style="color: #007700">]<br /></span><span style="color: #0000BB">MSG_HE_COLOR&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">5<br /><br />MSG_FLASH&nbsp;</span><span style="color: #007700">=&nbsp;!</span><span style="color: #0000BB">t</span><span style="color: #007700">%</span><span style="color: #0000BB">name</span><span style="color: #007700">%&nbsp;!</span><span style="color: #0000BB">n</span><span style="color: #007700">(</span><span style="color: #0000BB">RADIO</span><span style="color: #007700">):&nbsp;</span><span style="color: #0000BB">Fire&nbsp;in&nbsp;the&nbsp;hole</span><span style="color: #007700">!&nbsp;!</span><span style="color: #0000BB">t</span><span style="color: #007700">[</span><span style="color: #0000BB">flashbang</span><span style="color: #007700">]<br /></span><span style="color: #0000BB">MSG_FLASH_COLOR&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">4<br /><br />MSG_SMOKE&nbsp;</span><span style="color: #007700">=&nbsp;!</span><span style="color: #0000BB">g</span><span style="color: #007700">%</span><span style="color: #0000BB">name</span><span style="color: #007700">%&nbsp;!</span><span style="color: #0000BB">n</span><span style="color: #007700">(</span><span style="color: #0000BB">RADIO</span><span style="color: #007700">):&nbsp;</span><span style="color: #0000BB">Fire&nbsp;in&nbsp;the&nbsp;hole</span><span style="color: #007700">!&nbsp;!</span><span style="color: #0000BB">g</span><span style="color: #007700">[</span><span style="color: #0000BB">smokegren</span><span style="color: #007700">]<br /></span><span style="color: #0000BB">MSG_SMOKE_COLOR&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">3<br /><br /></span><span style="color: #007700">[</span><span style="color: #0000BB">Sounds&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">]<br />;</span><span style="color: #0000BB">Enable&nbsp;them&nbsp;by&nbsp;changing&nbsp;it&nbsp;to&nbsp;</span><span style="color: #DD0000">"1"</span><span style="color: #007700">.<br /><br /></span><span style="color: #0000BB">SOUND_HE&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">hgrunt</span><span style="color: #007700">/</span><span style="color: #0000BB">grenade</span><span style="color: #007700">!.</span><span style="color: #0000BB">wav<br />SOUND_FLASH&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">misc</span><span style="color: #007700">/</span><span style="color: #0000BB">talk</span><span style="color: #007700">.</span><span style="color: #0000BB">wav<br />SOUND_SMOKE&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">weapons</span><span style="color: #007700">/</span><span style="color: #0000BB">grenade_hit2</span><span style="color: #007700">.</span><span style="color: #0000BB">wav<br /><br /></span><span style="color: #007700">[</span><span style="color: #0000BB">Trail&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">]<br />;&lt;</span><span style="color: #0000BB">red</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">green</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">blue</span><span style="color: #007700">&gt;&nbsp;--&nbsp;Use&nbsp;</span><span style="color: #DD0000">"R"&nbsp;</span><span style="color: #007700">for&nbsp;</span><span style="color: #0000BB">a&nbsp;random&nbsp;color&nbsp;amount</span><span style="color: #007700">.<br /><br /></span><span style="color: #0000BB">TRAIL_HE&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">255&nbsp;0&nbsp;0<br />TRAIL_FLASH&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">255&nbsp;255&nbsp;255<br />TRAIL_SMOKE&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0&nbsp;255&nbsp;0<br /><br />TRAIL_SPRITE&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sprites</span><span style="color: #007700">/</span><span style="color: #0000BB">smoke</span><span style="color: #007700">.</span><span style="color: #0000BB">spr<br />TRAIL_LIFE&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">10<br />TRAIL_WIDTH&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">5<br />TRAIL_BRIGHTNESS&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">200&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b><font color="#FF8000">[Messages = 1]</font></b> - In this section you can find and modify the grenade messages. Set it to &quot;0&quot; if you want to disable them and use the default ones. The colors are: 3 = team color, 4 = grey, 5 = red, 6 = blue. You can use !n (default color), !t (according to the first settings), !g (green), %name% (player's name).<br /><ul><li><b><font color="#8040FF">MSG_HE</font></b>: The message when you throw a HE grenade.</li>
<li><b><font color="#8040FF">MSG_HE_COLOR</font></b>: The second color for the message when you throw a HE grenade.</li>
<li><b><font color="#8040FF">MSG_FLASH</font></b>: The message when you throw a Flash grenade.</li>
<li><b><font color="#8040FF">MSG_FLASH_COLOR</font></b>: The second color for the message when you throw a Flash grenade.</li>
<li><b><font color="#8040FF">MSG_SMOKE</font></b>: The message when you throw a Smoke grenade.</li>
<li><b><font color="#8040FF">MSG_SMOKE_COLOR</font></b>: The second color for the message when you throw a Smoke grenade.</li>
</ul><br /><br /><b><font color="#FF8000">[Sounds = 0]</font></b> - Change it to &quot;1&quot; if you want to enable custom sounds when you throw a grenade. You can leave a field blank if you want that grenade to be without a sounds. Leave them all blank if you want to completely block the &quot;fire in the hole&quot; sound.<br /><ul><li><b><font color="#8040FF">SOUND_HE</font></b>: The sound when you throw a HE grenade.</li>
<li><b><font color="#8040FF">SOUND_FLASH</font></b>: The sound when you throw a Flash grenade.</li>
<li><b><font color="#8040FF">SOUND_SMOKE</font></b>: The sound when you throw a Smoke grenade.</li>
</ul><br /><br /><b><font color="#FF8000">[Trail = 1]</font></b> - Here you can moidfy the grenades' trail. Set it to &quot;0&quot; if you want to disable it. Use &quot;R&quot; if you want the given value of the color to be random (Example: 255 R 150 or R R R).<br /><ul><li><b><font color="#8040FF">TRAIL_HE</font></b>: The trail when you throw a HE grenade.</li>
<li><b><font color="#8040FF">TRAIL_FLASH</font></b>: The trail when you throw a Flash grenade.</li>
<li><b><font color="#8040FF">TRAIL_SMOKE</font></b>: The trail when you throw a Smoke grenade.</li>
<li><b><font color="#8040FF">TRAIL_SPRITE</font></b>: The sprite for the trail.</li>
<li><b><font color="#8040FF">TRAIL_LIFE</font></b>: Trail duration.</li>
<li><b><font color="#8040FF">TRAIL_WIDTH</font></b>: Trail width.</li>
<li><b><font color="#8040FF">TRAIL_BRIGHTNESS</font></b>: Trail brightness.</li>
</ul></font></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/ini.gif"alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...TheHole.ini</a>(717 Bytes)


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

<a href="http://www.amxmodx.o...13"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1463256956">GetSource</a> (crx_fireinthehole.sma - 9.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