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

Deathrun Mod [Core + Modes]


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

Napisano 15.08.2016 18:16

<div><font size="5"><b>Deathrun Mod</b></font><br /><br /><b>Version:</b> v9<br /><b>Author:</b> Mistrick<br /><b>Description:</b> A set of plugins for realization of mod.<br /><br /><font size="4"><b>Included:</b></font><br /><b><font color="Blue">deathrun_core:</font></b><br />Main plugin, team balance, join control, fixed using buttons through the walls, remove extra entity(bomb plant, etc.), block radio<br />cvars:<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;"><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">deathrun_block_kill&nbsp;1
<br />deathrun_block_falldmg&nbsp;1&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br />settings:<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;"><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">#define&nbsp;WARMUP_TIME&nbsp;15.0&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br />api:<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;"><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">/**
<br />&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Terrorist&nbsp;index.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;dr_get_terrorist</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Sets&nbsp;the&nbsp;player&nbsp;who&nbsp;becomes&nbsp;a&nbsp;terrorist&nbsp;in&nbsp;the&nbsp;next&nbsp;round.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@param&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Player&nbsp;index.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;dr_set_next_terrorist</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">);&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><b><font color="Blue">deathrun_modes:</font></b><br />Api for realization of terrorist modes. Controls using buttons, weapons(weaponbox, armoury_entity), bhop.<br />settings:<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;"><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">#define&nbsp;DEFAULT_BHOP&nbsp;1
<br />#define&nbsp;DEFAULT_USP&nbsp;1
<br />#define&nbsp;TIMER&nbsp;15&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br />api:<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;"><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">enum&nbsp;_</span><span style="color: #007700">:</span><span style="color: #0000BB">ModeData
<br /></span><span style="color: #007700">{
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_Name</span><span style="color: #007700">[</span><span style="color: #0000BB">32</span><span style="color: #007700">],
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_RoundDelay</span><span style="color: #007700">,
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_CurDelay</span><span style="color: #007700">,
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_CT_BlockWeapon</span><span style="color: #007700">,
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_TT_BlockWeapon</span><span style="color: #007700">,
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_CT_BlockButtons</span><span style="color: #007700">,
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_TT_BlockButtons</span><span style="color: #007700">,
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_Bhop</span><span style="color: #007700">,
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_Usp</span><span style="color: #007700">,
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">m_Hide
<br /></span><span style="color: #007700">};
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Mode&nbsp;registration.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;Hide&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hide&nbsp;mode&nbsp;in&nbsp;modes&nbsp;menu
<br />&nbsp;*
<br />&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mode&nbsp;index.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;dr_register_mode</span><span style="color: #007700">(</span><span style="color: #0000BB">Name</span><span style="color: #007700">[</span><span style="color: #0000BB">32</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">RoundDelay</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">CT_BlockWeapons</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">TT_BlockWeapons</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">CT_BlockButtons</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">TT_BlockButtons</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Bhop</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Usp</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Hide&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #0000BB">native&nbsp;dr_get_mode</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">[]&nbsp;=&nbsp;</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">size&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;@param&nbsp;mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mode&nbsp;index&nbsp;from&nbsp;register.
<br />&nbsp;*&nbsp;@param&nbsp;fwd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute&nbsp;forward&nbsp;or&nbsp;not(dr_selected_mode).
<br />&nbsp;*&nbsp;@param&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Player&nbsp;index&nbsp;who&nbsp;activates&nbsp;mode.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;dr_set_mode</span><span style="color: #007700">(</span><span style="color: #0000BB">mode</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">fwd&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #0000BB">native&nbsp;dr_get_mode_by_name</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">[]);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Gets&nbsp;full&nbsp;mode&nbsp;info.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;dr_get_mode_info</span><span style="color: #007700">(</span><span style="color: #0000BB">mode</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">modeinfo</span><span style="color: #007700">[</span><span style="color: #0000BB">ModeData</span><span style="color: #007700">]);
<br />
<br /></span><span style="color: #0000BB">native&nbsp;dr_set_mode_bhop</span><span style="color: #007700">(</span><span style="color: #0000BB">bhop</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #0000BB">native&nbsp;dr_get_mode_bhop</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #0000BB">native&nbsp;dr_set_user_bhop</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">bhop</span><span style="color: #007700">);
<br />
<br />
<br /></span><span style="color: #0000BB">native&nbsp;bool</span><span style="color: #007700">:</span><span style="color: #0000BB">dr_get_user_bhop</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Forward,&nbsp;which&nbsp;is&nbsp;called&nbsp;after&nbsp;mode&nbsp;activation.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">forward&nbsp;dr_selected_mode</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">mode</span><span style="color: #007700">);&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><b><font color="Blue">deathrun_mode_free, deathrun_mode_invis, deathrun_mode_snow, deathrun_mode_duel:</font></b><br />Examples of use API<br />api:<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;"><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">/**
<br />&nbsp;*&nbsp;deathrun_modes_duel
<br />&nbsp;*/
<br />
<br /></span><span style="color: #0000BB">forward&nbsp;dr_duel_prestart</span><span style="color: #007700">(</span><span style="color: #0000BB">duelist_ct</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">duelist_t</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #0000BB">forward&nbsp;dr_duel_start</span><span style="color: #007700">(</span><span style="color: #0000BB">duelist_ct</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">duelist_t</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #0000BB">forward&nbsp;dr_duel_finish</span><span style="color: #007700">(</span><span style="color: #0000BB">winner</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">looser</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #0000BB">forward&nbsp;dr_duel_canceled</span><span style="color: #007700">();&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><b><font color="Blue">deathrun_informer:</font></b><br />Shows info for player(mode info, speclist, speed).<br />settings:<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;"><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">#define&nbsp;UPDATE_INTERVAL&nbsp;1.0
<br />#define&nbsp;DONT_SHOW_FOR_ALIVE&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><b><font color="Blue">deathrun_lifes:</font></b><br />Lite life system.<br /><br /><b><font color="Blue">deathrun_buttons_control:</font></b><br />Lite plugin for control buttons.<br /><br /><b><font size="4">Changelog and lastest update:</font></b><br /><a href="https://github.com/M...ck/DeathrunMod"target="_blank">GitHub</a><br /><br /><font size="4"><b>Recommended Plugins:</b></font><br /><a href="https://forums.alliedmods.net/showthread.php?t=250891" target="_blank">Semiclip by s1lent</a> with patch 1</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/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...d_v9_am.zip</a>(297.4 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