←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

Automatic file downloader for clients

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 24.09.2016

<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 &quot;precache_model(&quot;models/examplefolder/examplefile.mdl&quot;)&quot; 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 &lt;amxmodx&gt;<br />#include &lt;amxmisc&gt;<br />#include &lt;cstrike&gt;<br /><br />public plugin_init() {<br /> register_plugin(&quot;AMX Custom file downloader&quot;, &quot;1.4.0&quot;, &quot;Jotalanusse&quot;)<br /> return PLUGIN_CONTINUE<br />}<br /><br />public plugin_precache() {<br /> precache_model(&quot;models1/examplefolder1/examplefile1.mdl&quot;)<br /> precache_model(&quot;models2/examplefolder2/examplefile2.mdl&quot;)<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ł
Odpowiedz