Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[INS] Message Of The Day - Insurgency


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 19.04.2015 13:08

<div><div align="center"><font color="Blue"><font size="5"><b>Message Of The Day [MOTD] for Insurgency (2014)</b></font></font><br /><br /><font color="Red"><b><font size="4">CREDITS</font></b></font><br /><a href="https://forums.allie...r.php?u=198951"target="_blank">woklex</a> - Discovered their connmotd.smx plugin after making version 1.0 and due to similarities, added Enable/Disable Cvar to mine to differentiate the two for version 2.0.<br /><br /><font color="red"><b><font size="4">DESCRIPTION</font></b></font><br />Displays the server MOTD window upon joining the server (as well as the default 5 lines of text in the loadscreen).<br />By default, the only MOTD you get, if set, is a few lines of text with no formatting, displayed in the bottom right of the load screen.<br />With this plugin, that same MOTD is displayed, but you can also have a large MOTD display as a window, after they spawn in and choose their team, class, etc.<br />You can also redirect the motd.txt to motd.html and upload that to a web server, to have a fully formatted MOTD, including images, links, videos, etc.<br /><br /><font color="red"><b><font size="4">CVAR LIST</font></b></font><br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

<div align="center"><b>sm_motd_enabled 1</b> // (1) Enables, (0) Disables</div>

<hr />
</td>
</tr>
</table>
</div><font color="red"><b><font size="4">CHANGELOG</font></b></font><br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

<div align="center"><b>Version 1.0 (16-04-15)</b><br />Initial Release<br /><br /><b>Version 2.0 (19-04-15)</b><br />Added g_CvarEnabled to turn on and off</div>

<hr />
</td>
</tr>
</table>
</div><font color="Red"><b><font size="4">INSTALLATION</font></b></font><br />Place &quot;motd.smx&quot; in &quot;addons/sourcemod/plugins/&quot; and make sure you have set &quot;motdfile motd.txt&quot; and then restart the server. Presto!<br />(&quot;plugin.motd.cfg&quot; is automatically generated in &quot;insurgency/cfg/sourcemod/&quot; with the Cvar, if you want to disable it, change 1 to 0.)<br /><br /><b>If you wish to redirect to a HTML file, for extra formatting, then the following steps are important, otherwise feel free to skip.</b><br />Add &quot;&lt;!-- XXX --&gt;&quot; at the top of the txt file and replace XXX with text to display in the load screen.<br />This allows you to have a text MOTD during loadscreen and full html window on spawn.<br />Otherwise, while in the loading screen, people see &quot;&lt;!DOCTYPE html&gt;&quot;, etc.<br />Now create and upload your motd.html to a web server and point the link in motd.txt to it.<br />View the EXAMPLE section below for how I did mine.<br /><br /><font color="Red"><b><font size="4">EXAMPLE</font></b></font><br />The following is how I set up my MOTD;<br />In my &quot;server.cfg&quot; I placed &quot;motdfile motd.txt&quot;.<br />My &quot;motd.txt&quot; has been attached, to see my comments that display in the loadscreen and how I redirect to &quot;motd.html&quot;.<br />My &quot;motd.html&quot; can be found here -&gt; <a href="http://tools.insurge....com/motd.html"target="_blank">MOTD</a> (View Source for a better understanding/ideas)<br /><br /><img src="http://i.imgur.com/FIPhXBW.jpg?1" border="0" alt="" /><br /><br /></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...72"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1429445273">GetSource</a> (motd.sp - 637 Bytes)


</td>
</tr><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...2">motd.txt</a>(726 Bytes)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych