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

Maps Suggestions Logger


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

Napisano 04.08.2014 11:59

<!-- BEGIN TEMPLATE: postbit_external -->
<div>Plugin requested here: <a href="https://forums.allie...ghlight=suggest" target="_blank">https://forums.allie...=suggest</a><br /><br /><font size="4"><b><font color="red">.: Description :.</font></b></font><br /><br />With this simple plugin players in the server can gladly suggest a new map to the owner. All they have to do is using one simple chat command:<br />- <b>/suggest</b> <i>&lt;mapname&gt;</i><br /><br />When a valid mapname is suggested, the suggestions will be logged in a log file in the following directory:<br /><b>cstrike/addons/amxmodx/logs/SuggestedMaps.log</b><br /><br />The owner of the server can review this file to see which map his players want to play, and think about adding it in the server.<br /><br /><font size="4"><b><font color="red">.: CVARs :.</font></b></font><br /><br /><b><font color="#FF0000">sml_advertise</font> (default: 1)</b><br />/Will be an info chat message displayed to all players on every 60 seconds./<br /><br /><b><font color="#FF0000">sml_time_delay</font> (default: 180)</b><br />/Тhe time player need to wait between his suggestions (in seconds)./<br /><br /><b><font color="#FF0000">sml_logfile_name</font> (default: &quot;SuggestedMaps&quot;)</b><br />/Тhe name of the logife, where the suggestions will be logged./<br /><br /><b><font color="#FF0000">sml_prefix</font> (default: &quot;[NEWMAPS]&quot;)</b><br />/Тhe prefix for the chat messages./<br /><br /><div align="center"><font color="red">Each new cvar needs to be added on new line in one of the following files: <u>server.cfg</u>, <u>amxx.cfg</u> or <u>cvars.ini</u></font></div><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;">I want to ask the society about something. For now, those are the ways to detect invalid map name suggested:<br />- Checking if the suggested mapname contains &quot;_&quot; in it and has some letters before that sign<br />- Checking if the suggested mapname contains some letters, so it could be valid mapname<br />- Checking if the suggested mapname is already existing in maps.ini, so it won't be added again.<br /><br />If someone has some better ideas of how to check valid mapname (to avoid spam), feel free to share!</div>
</div>
</div><br /><br />You will have to compile the plugin locally with the attached custom include!<br /><br />Waiting for replies :3</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/inc.gif" alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1407149987">colorchat.inc</a> (5.9 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...?file_id=136580"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1407149987">Get Source</a> (SuggestMap.sma - 5.7 KB)

</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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