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

Bomb Status


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

Napisano 01.06.2014 15:50

<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><font color="BLUE"><font size="5"><b>BOMB STATUS</b></font></font></div><br /><b>Description:</b> Shows a hud message with the following information about the bomb:<br /><br />Bomb Planted : Yes/No<br />BombSite : A/B/No<br />Status : Dropped/Carried<br />Carrier/Planter : Name/ No ( if the bomb was planted will show Planter: Name )<br />Distance To Bomb: Distance/No<br /><br />Let's explain better:<br /><br /><b>BombPlanted</b>: if the bomb is planted, it will show Yes, otherwise it will show NO. <br /><b>BombSites</b>: if the bomb is not planted will show No, otherwise it will show A / B. <br /><b>Status</b>: will show Dropped if the bomb is on the ground, Carried if a player has the bomb.<br /><b>Carrier</b>: if the bomb is not on the ground will show the name of the player who has it, otherwise will show No. In the case which the bomb is planted , will shows the name of player who planted it. <br /><b>Distance To Bomb</b>: if planted will display the distance, else will show NO.<br /><br /><b>Install instructions :</b><br /><br />Put Bomb_info.sma file in <font color="red">addons / amxmodx / scripting</font> <br />Put Bomb_info.amxx file in <font color="red">addons / amxmodx / plugins</font> <br />Go into addons / amxmodx / configs / plugins.ini and add the following: <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">bomb_info.amxx</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->If the bomb sites is not shown correctly (A instead of B or vice versa), open addons / amxmodx / configs / swapped_maps.ini and add the map name at the end of the file. (Read FAQ for more details). I found two maps with this problem: de_chateau and de_dust2.<br /><br /><b>Cvars:</b>(add them in <font color="red">amxmodxconfigsamxx.cfg</font> ):<br /><br />bomb_status_team-<font color="red">team that will see the hud</font> <br />0 - everyone<br />1 - only t<br />2 - only ct<br />bomb_hud_type-<font color="red">hud type</font><br />0 - default hud<br />1 - director hud message<br /><br /><b>Module necesare </b>(se sterge <font color="red">;</font> din fata modulului de mai jos; acestea le gasiti in fisierul <font color="red">amxmodxconfigsmodules.ini</font>):<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">amxmodx<br />amxmisc <br />fakemeta <br />engine <br />csx<br />cstrike</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b>Images:</b><br /><br />THE PICTURES ARE VERY OLD ( 0.1 VERSION ) , THEY MAY DISPLAY THINGS IN WRONG WAY, I POSTED THEM ONLY TO LET YOU MAKE AN OPPINON ABOUT WHAT THIS PLUGIN DOES.<br /><br />Classic hud:<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br /><img src="http://i.imgur.com/2aDeFWF.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/hKYSgnU.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/9rA2AlI.png" border="0" alt="" /><br /></div>
</div>
</div><br /><br />Dhud:<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br /><img src="http://i.imgur.com/FfPAF8v.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/O6Pn8iy.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/RMyU7eI.jpg" border="0" alt="" /><br /></div>
</div>
</div><br /><br /><b>Frequently Asked Questions</b><br /><br />Q: Why on some maps Bomb sites are displayed incorrectly (A instead of B or vice versa): <br />A: Some maps have reversed bomb sites, but can be solved. Follow the instructions below:<ol style="list-style-type: decimal"><li>Open addons/amxmodx/configs/swapped_maps.ini</li>
<li>Add the map name into this file and change map/restart the server.</li>
</ol><br />Q: Why the plugin does not work on some maps? <br />A: The plugin works only on de_ maps (defuse map).<br /><br /><b>Credits:</b><br />Askhanar - in one of his plugins I found that the map de_dust2 has reversed Bombs sites.<br />Arkshine - dhud.inc<br /><br /><b>ChangeLog:</b><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">V 01.: <br />+ Initial Release. <br />V 0.2: <br />+ Add two versions: dhud / HUD classic. <br />+ Fix bug when name was displayed incorrectly.<br />V 0.3: <br />+ Add cvar bomb_status_team (which them see the hud) <br />+ Optimization for detecting the distance to the bomb site. <br />V 0.4: <br />+ Now there is only one version with HUD and dhud. <br />+ Adding cvar bomb_hud_type <br />+ Big&nbsp; optimization for checking the distance between the bomb and the bomb site <br />+ Arrange the code</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></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/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>

<a href="http://www.amxmodx.o...?file_id=134027"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1401634231">Get Source</a> (Bomb_info.sma - 10.3 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