<div><b>This plugin, allows server clients to donload MODELS files, that otherwise, they couldnt be able to download, and their game would crash.</b><br /><br /><br />CODE:<br /><br /><br /># Im not going to make any aupdates to this plugin!<br /><br /># Add models under [ public plugin_precache ]<br /><br /># just add "precache_model("models/examplefolder/examplefile.mdl")" under specified line<br /><br /># Dont modify anything else!<br /><br /># This plugin doesent has any bugs!<br /><br /># NOTE!: Every time you want to add a model, you will have to add the line in the <br /> .sma file and compile it, and replace the old plugin with the new .amxx file<br /><br /><br />#include <amxmodx><br />#include <amxmisc><br />#include <cstrike><br /><br />public plugin_init() {<br /> register_plugin("AMX Custom file downloader", "1.4.0", "Jotalanusse")<br /> return PLUGIN_CONTINUE<br />}<br /><br />public plugin_precache() {<br /> precache_model("models1/examplefolder1/examplefile1.mdl")<br /> precache_model("models2/examplefolder2/examplefile2.mdl")<br /> return PLUGIN_CONTINUE<br />}</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/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.amxmodx.o...61"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1474691489">GetSource</a> (customfd.sma - 844 Bytes)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse

Automatic file downloader for clients
Temat rozp. Adminek AMXX.PL, 24.09.2016 05:34
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych