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

[Any] Simple Downloader


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

Napisano 16.03.2015 09:48

<div><font size="6"><b><u>Simple Downloader</u></b></font><br /><br />Simple Downloader is a plugin I decided to build in order to allow server operators to add files to precache &amp; add to downloads table without having to worry about coding. This plugin only does checks and loads the code whenever a map first starts so it won't do anything right away. If you disable the plugin with the ConVar, it just won't do anything on map starts, you would have to change it back to on then do a map change for it to work again.<br /><br />I am aware that 'sm_downloader' is a thing and that's fine as well but this plugin takes advantage of Key value systems plus it allows the server operator to set the path of the config so each map can load a different config.<br /><br />Suggestions are welcome as I'll probably add to this plugin eventually.<br /><br />(NOTE: THE PLUGIN DOES NOT CREATE A CONFIG, ADD THE CONVARS TO YOUR OWN CONFIGS)<br /><br />ConVars:<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">simpledownloader_version - Version Control<br />sm_simpledownloader_status - 1 - Status of the plugin: (1 = on, 0 = off)<br />sm_simpledownloader_config - configs/simpledownloader.cfg - Full path of the configuration file to load: (IE: configs/simpledownloader.cfg)</code><hr />
</div>Read the example configuration file and download the blank one to edit it and have it do what you need.<br /><br /><font color="Red">(NEEDS TESTING)</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/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...83"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1426495686">GetSource</a> (SimpleDownloader.sp - 6.0 KB)


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


<a href="https://forums.allie...nloader.cfg</a>(150 Bytes)


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


<a href="https://forums.allie...example.cfg</a>(2.6 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