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

[ANY] Chat Welcome Message (with Warmode / alternative message)


  • 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 470
  • Lokalizacja:AMXX.PL
Offline

Napisano 17.01.2016 00:20

<div><div align="center"><font face="Times New Roman"><font size="4"><i>Chat Welcome Message </i><font size="2">1.0</font> </font></font><br /><br /><b><img src="http://i.imgur.com/icJMtPx.png"border="0" alt="" /><br /><br /></b><div align="left"><b>Description</b><br /><br />An extremely basic, multi-language, MoreColors welcome message with a cvar toggle to display an alternative message. This is essentially the same as <a href="https://forums.alliedmods.net/showthread.php?p=880791" target="_blank">Simple Welcome Message</a> by Zuko, without the panel and hint message types; but the cvar that lets you display an alternative (warmode) message to connecting players is handy for several purposes. I made it so that players who join my HL2DM servers can be welcomed as normal during pub, but during a private match sm_cwm_warmode is set to 1, and the alternative message informs them not to join the game unless invited to do so (a temporary half-fix until I find/create a plugin to *stop* them from joining)<br /></div></div> <br />There's not much more to say. If it would be handy to have a choice of 2 different welcome messages, enjoy. Only tested in HL2DM but should work in anything.<br /><br /><b>Cvars<br /><br /></b><i>sm_cwm_messagelines </i>--- How many lines of the welcome message to send (min: 1, max: 8, default: 3, set to 0 to disable plugin) (some mods may not support 8 lines)<br /><br /><i>sm_cwm_delay</i> --- Delay in seconds after player connect before displaying the welcome message (min: 0, default: 3)<br /><br /><i>sm_cwm_warmode</i> --- Whether or not to show the alternative (warmode) welcome message (min: 0, max: 1, default: 0)<br /><br /><b>Installation/configuration<br /><br /></b>Copy chatwelcomemessage.smx to addons/sourcemod/plugins<br />Copy chatwelcomemessage.phrases.txt to addons/sourcemod/translations and edit to your liking (see <a href="https://www.doctormckay.com/morecolors.php" target="_blank">here</a> for colours)<br />After loading the plugin, edit cfg/sourcemod/plugin.chatwelcomemessage.cfg to your liking<br /><br />(Optional) Add the plugin and 'sm_cwm_warmode 1' to sm_warmode_on.cfg, or toggle/untoggle the alternative message in whatever way suits your needs.</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/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...message.smx</a>(10.3 KB)


</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...06"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1452986245">GetSource</a> (chatwelcomemessage.sp - 6.7 KB)


</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...phrases.txt</a>(1.1 KB)


</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