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

Hide and Seek: Developer Mode [3.5.1 Stable]


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

Napisano 07.09.2015 12:02

<div>This mod was developed for the next development, which was in my plans. It serves as a basis. I think do not need to explain what a Hide and Seek.<br /><br />Why &quot;<b>Developer Mode</b>&quot;? In the development of this mod, I rely more on convenience in the following plugins for this mod, what it actually created: for scripters interested mod Hide and Seek, to make their lives easier in their development, and so it got its name.<br /><br /><b>CONFIG</b>:<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 /><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">MAIN</span><span style="color: #007700">]&nbsp;<br />&nbsp;{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">HNS_TIMER_SECONDS&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">10&nbsp;</span><span style="color: #FF8000">//timer&nbsp;seconds<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">HNS_SERVER_AA&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">100&nbsp;</span><span style="color: #FF8000">//sv_airaccelerate&nbsp;value<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">HNS_BLOCK_MONEY&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #FF8000">//lock&nbsp;change&nbsp;HUD&nbsp;money&nbsp;(1/0)&nbsp;<br />&nbsp;</span><span style="color: #007700">}&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;[</span><span style="color: #0000BB">AUTO&nbsp;JOIN&nbsp;TEAM</span><span style="color: #007700">]&nbsp;<br />&nbsp;{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">HNS_JOIN_TEAM&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">5&nbsp;</span><span style="color: #FF8000">//forced&nbsp;choice&nbsp;team&nbsp;(5&nbsp;-&nbsp;auto&nbsp;select)&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">HNS_JOIN_CLASS&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">5&nbsp;</span><span style="color: #FF8000">//forced&nbsp;choice&nbsp;class&nbsp;(5&nbsp;-&nbsp;auto&nbsp;select)&nbsp;<br />&nbsp;</span><span style="color: #007700">}&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;[</span><span style="color: #0000BB">ENTITY&nbsp;REMOVED&nbsp;</span><span style="color: #007700">LIST]<br />&nbsp;{&nbsp;&nbsp;</span><span style="color: #FF8000">//The&nbsp;list&nbsp;of&nbsp;objects&nbsp;to&nbsp;be&nbsp;deleted<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">func_buyzone&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;info_bomb_target&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;func_hostage_rescue&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;monster_scientist&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hostage_entity&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;info_hostage_rescue&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;func_bomb_target&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;func_escapezone&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;info_vip_start&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;func_vip_safetyzone&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;armoury_entity&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;func_breakable&nbsp;<br />&nbsp;</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>INCLUDE</b>:<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 /><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;Called&nbsp;when&nbsp;the&nbsp;round&nbsp;ends&nbsp;in&nbsp;favor&nbsp;of&nbsp;a&nbsp;team&nbsp;or&nbsp;a&nbsp;draw.<br />&nbsp;*<br />&nbsp;*&nbsp;@param&nbsp;team&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;winning&nbsp;team.<br />&nbsp;*&nbsp;@param&nbsp;gamestarted&nbsp;&nbsp;&nbsp;Whether&nbsp;there&nbsp;is&nbsp;a&nbsp;composition&nbsp;of&nbsp;both&nbsp;teams.<br />&nbsp;*/<br />&nbsp;</span><span style="color: #0000BB">enum&nbsp;HnsTeams<br />&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">HNS_DRAW</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">HNS_TEAM_T</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">HNS_TEAM_CT<br />&nbsp;</span><span style="color: #007700">};<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;</span><span style="color: #0000BB">forward&nbsp;hns_round_end</span><span style="color: #007700">(</span><span style="color: #0000BB">HnsTeams</span><span style="color: #007700">:</span><span style="color: #0000BB">team</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">gamestarted</span><span style="color: #007700">);<br />&nbsp;&nbsp;<br /></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;Called&nbsp;at&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;timer&nbsp;when&nbsp;the&nbsp;CT&nbsp;start&nbsp;acting.<br />&nbsp;*<br />&nbsp;*&nbsp;@param&nbsp;min_players&nbsp;&nbsp;&nbsp;Is&nbsp;there&nbsp;a&nbsp;minimum&nbsp;number&nbsp;of&nbsp;players&nbsp;(2).<br />&nbsp;*/<br />&nbsp;</span><span style="color: #0000BB">forward&nbsp;hns_round_start</span><span style="color: #007700">(</span><span style="color: #0000BB">bool</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">min_players</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;Called&nbsp;the&nbsp;duration&nbsp;of&nbsp;the&nbsp;timer.&nbsp;<br />&nbsp;*&nbsp;The&nbsp;feature&nbsp;is&nbsp;useful&nbsp;for&nbsp;creating&nbsp;an&nbsp;informer&nbsp;with&nbsp;a&nbsp;count.<br />&nbsp;*<br />&nbsp;*&nbsp;@param&nbsp;index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;index.<br />&nbsp;*&nbsp;@param&nbsp;time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Timer&nbsp;seconds.<br />&nbsp;*/<br />&nbsp;</span><span style="color: #0000BB">forward&nbsp;hns_timer_process</span><span style="color: #007700">(</span><span style="color: #0000BB">index</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">time</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;Called&nbsp;when&nbsp;the&nbsp;CT&nbsp;becomes&nbsp;TT<br />&nbsp;*&nbsp;thanks&nbsp;to&nbsp;the&nbsp;change&nbsp;of&nbsp;command&nbsp;(native&nbsp;hns_switch_teams()).<br />&nbsp;*<br />&nbsp;*&nbsp;@param&nbsp;index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;index.<br />&nbsp;*/<br />&nbsp;</span><span style="color: #0000BB">forward&nbsp;hns_became_terrorist</span><span style="color: #007700">(</span><span style="color: #0000BB">index</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;Called&nbsp;when&nbsp;a&nbsp;player&nbsp;from&nbsp;a&nbsp;certain&nbsp;<br />&nbsp;*&nbsp;team&nbsp;is&nbsp;become&nbsp;lonely.<br />&nbsp;*<br />&nbsp;*&nbsp;@param&nbsp;index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;index.<br />&nbsp;*&nbsp;@param&nbsp;team&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Player&nbsp;team.<br />&nbsp;*/<br />&nbsp;</span><span style="color: #0000BB">forward&nbsp;hns_player_loner</span><span style="color: #007700">(</span><span style="color: #0000BB">index</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HnsTeams</span><span style="color: #007700">:</span><span style="color: #0000BB">team</span><span style="color: #007700">);<br />&nbsp;&nbsp;<br /></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;The&nbsp;function&nbsp;needs&nbsp;to&nbsp;change&nbsp;the&nbsp;teams&nbsp;interchanged.<br />&nbsp;*/<br />&nbsp;</span><span style="color: #0000BB">native&nbsp;hns_switch_teams</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;</span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;This&nbsp;function&nbsp;allows&nbsp;you&nbsp;to&nbsp;learn&nbsp;whether&nbsp;there&nbsp;is&nbsp;a&nbsp;composition&nbsp;of&nbsp;both&nbsp;teams.<br />&nbsp;*/<br />&nbsp;</span><span style="color: #0000BB">native&nbsp;bool</span><span style="color: #007700">:</span><span style="color: #0000BB">hns_get_gamestarted</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;</span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;This&nbsp;function&nbsp;allows&nbsp;you&nbsp;to&nbsp;learn&nbsp;number&nbsp;of&nbsp;alive&nbsp;players&nbsp;specific&nbsp;team.<br />&nbsp;*<br />&nbsp;*&nbsp;@param&nbsp;team[10]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Needs&nbsp;a&nbsp;team&nbsp;("CT"&nbsp;or&nbsp;"TERRORIST").<br />&nbsp;*/<br />&nbsp;</span><span style="color: #0000BB">native&nbsp;hns_get_aliveplayers</span><span style="color: #007700">(</span><span style="color: #0000BB">team</span><span style="color: #007700">[</span><span style="color: #0000BB">10</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>P.S.</b>: Mod does not include the semiclip. I personally use the module from s1lent.<br /><br />The archive has three examples of use the available functions, with which you can fully enjoy the mod.<br /><br />Github repository: <a href="https://github.com/E...Developer Mode"target="_blank">Click</a>.</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...andseek.zip</a>(10.2 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