<div><b>Hello!</b> I want to release my really simple and useable plugin.<br />This one reloads plugins in config every map change.<br />How to use?<br />Put <b>.smx</b> file in <b>plugins/</b> folder, put <b>plugins_reload.txt</b> in <b>configs/</b> folder.<br />Write <b>plugin names</b> in <b>plugins_reload.txt</b> file. For Example:<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">basebans<br />store</span><span style="color: #007700">-</span><span style="color: #0000BB">core<br />admin</span><span style="color: #007700">-</span><span style="color: #0000BB">flatfile
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>That can be really useful when you server <b>possibly</b> crashes cause of <b>Memory Leak</b>.<br />In next version I will add <b>cvars</b> (like when plugins will restart? Map <b>end </b>or Map <b>start</b>?)<br /><br /><b>Hope you enjoy.</b>:3:3:3</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/txt.gif"alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie..._reload.txt</a>(39 Bytes)
</td>
</tr><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...38"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1471965164">GetSource</a> (plugin_reloader.sp - 792 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

[ANY] Plugin reloader [1.0]
Temat rozp. Adminek AMXX.PL, 23.08.2016 16:13
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych