<div>The MOTD seems to be disabled in Dystopia. This plugin creates the "motd" command to show the MOTD, and will display it automatically when a player enters the server if the "motdfordys_automotd" ConVar is set to 1. This plugin will conflict with the basetriggers plugin that ships with vanilla SourceMod, because they both create the "motd" command. However many of the functions provided by basetriggers do not work properly in Dystopia, and I would recommend removing it. This will probably also work for other games, that the basetriggers motd command would work properly for.<br /><br />Convar:<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">motdfordys_automotd "<1|0>" Default Value "1"</code><hr />
</div>Command:<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">motd</code><hr />
</div>Special Credits:<br /><br />Vizzy <a href="http://steamcommunit...1197972958598/"target="_blank">http://steamcommunit...7972958598/</a> - For testing the plugin.<br />SourceMod Development Team - The implementation of the motd command was basically copied from basetriggers.<br /><br />Changelog:<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">11-23-2015 (v4.0) <br /> <br />* Added comments, and better formatted for public release.<br />* Added the motdfordys_automotd ConVar.</code><hr />
</div></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...89"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1448340343">GetSource</a> (MOTDForDys4.0.sp - 1.8 KB)
</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

[Dystopia/ANY] MOTD For Dystopia (11-23-2015, v4.0)
Temat rozp. Adminek AMXX.PL, 24.11.2015 05:46
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych