<div><font face="Comic Sans MS"><font size="3"><b><div align="center"><font color="#FF0000"><</font> <font color="#0000BF">Automatic Command Executor</font> <font color="#FF0000">></font></div></b></font></font><font face="Comic Sans MS"><br /></font><div align="center"><font face="Comic Sans MS"><font color="#FF0000"><b>This plugin allows you to add specific commands in a .ini file. The commands will be used on the player that you choose when he joins the server. This is useful when organizing tournaments in which the winner gets a specific reward that need to be given to him when he is in the server, for example deathrun points. Not all plugins use additional files for these kind of stuff, so instead of waiting for the player to join the server and an administrator to be online, simply add the player's name, SteamID or IP address and the command in the .ini file.<br /></b></font></font></div><font face="Comic Sans MS"><br /><br /><font size="3"><b><u><font color="#0000BF">How to add a command:</font></u></b></font><br /><br />To add a command you need to enter the following infromation in <b>configs/AutoCommandExec.ini</b>:<br /><br /><b>"name/steam/ip" "player's name/SteamID/IP" "command"</b><br /><br />In the command field you can add "%info" if you want to use the player's userID when executing the command.<br /><br /></font><font face="Comic Sans MS"><font size="3"><b><font face="Comic Sans MS"><font size="3"><b><u><font color="#0000BF"><u>Examples</u>:</font></u></b></font></font></b></font> </font><ul><li><font face="Comic Sans MS">"name" "OciXCrom" "deathrun_give_points %info% 100"</font></li>
<li><font face="Comic Sans MS">"steam" "STEAM_0:0:123456789" "kick %info%"</font></li>
<li><font face="Comic Sans MS">"ip" "12.34.56.78" "echo He entered the server!"</font></li>
</ul><font face="Comic Sans MS"><br /><font size="3"><b><u><font color="#0000BF">Cvars:</font></u></b></font></font><font face="Comic Sans MS"><b><br /><br />* autocommand_time <<font color="#FF0000">default</font>: "3.0"></b> -- The time that is needed for the command to be executed after the player has joined the server.</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/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.amxmodx.o...02"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1438179203">GetSource</a> (crx_autocommand.sma - 2.7 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/ini.gif"alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...andExec.ini</a>(128 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 Command Executor [1.0]
Temat rozp.
Adminek AMXX.PL
, 29.07.2015 15:15
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych