Skocz do zawartości

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

Maps shedule


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

Napisano 23.01.2016 20:56

<div>Provides a list of maps, genereated by shedule. You can use it for map choosing, for example.<br /><br />Example of <b>configs/maps_shedule.ini</b> with which de_dust2 will be available 24h a day and the other maps only from 07:00 to 23:00.<br /><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"><font color="Sienna">[ 00:00:00 - 00:00:00 ]</font><br />de_dust2<br /><font color="Sienna"><br />[ 07:00:00 - 23:00:00 ]</font><br />de_inferno<br />de_nuke</code><hr />
</div>Example usage:<br /><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"><font color="Sienna">#include &lt;mapsh_shedule&gt;</font><br /><br /><font color="Blue">new</font> buff[<font color="DarkOrange">256</font>], map[<font color="DarkOrange">32</font>], count;<br /><font color="Blue">new</font> sec = mapsh_maps(str, map, count); <font color="Green">//see mapsh_shedule.inc for more</font><br />&nbsp; &nbsp; <br /><font color="Blue">for</font>( <font color="Blue">new</font> i = 0; i &lt; count; i++)<br />&nbsp; &nbsp; log_amx( <font color="Sienna">&quot;%d. %s&quot;</font>, i, buff[map[i]] );</code><hr />
</div>Output, for example, at 08:00:00 will be:<br /><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">de_dust2<br />de_inferno<br />de_nuke</code><hr />
</div>Use of clcmd amx_mapsh: <br /><b>amx_mapsh</b> - prints the whole shedule to console.<br /><b>amx_mapsh now</b> - prints only currently available maps.<br /><b>amx_mapsh at &quot;%H:%M&quot;</b> - prints maps that will be available at the given time. (with quotes)<br /><i><br />reuploaded, if it didn't work try again.<br /></i><i> written accidentally. not tested</i></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...">mapsh.zip</a> (4.4 KB)


</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...91"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...1453581338">Get Source</a> (mapsshedule.sma - 7.5 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