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

[NMRIH] Empty map rotator


  • 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 19.05.2016 14:01

<div>Hi,<br /><br />While im still very new to coding sourcemod plugins i end up creating alot of stuff for my own server. i'll try to share anything that might be of use to anyone else.<br /><br /><b>What will this plugin do?<br /> <br /></b>it will by default force a map change in your server every ~8 minutes if no players are connected to it. you can define the time interval with emptyrotate_time cvar. if you do change the default cvar value of 500.0 (~8 minutes) make sure you do it in the server.cfg file and not while the server is already running the plugin.<br /><br /><b>Why?<br /></b><br />by default nmrih servers keep running the last played map until it has been changed by a player vote or server admin. this means that whenever people leave your server the server will be stuck at the last played map, this usually is a map that isn't too popular with people. <br />this plugin will keep rotating maps in attempt of attracting people to your server, this will really help if your server runs alot of custom maps.<br /><br /><b>Important<br /><br /></b>this plugin will change maps to whatever sm_nextmap defines, it does not read your mapcycle file.<br />you should activate sourcemod's randomcycle.smx plugin for the intended result.<br />you can find randomcycle.smx in addons/sourcemod/plugins/disabled<br /><br /><b>Install instruction:<br /></b>drop nmrih_emptyrotate.smx in addons/sourcemod/plugins/ folder and it will work. additionally you could configure the emptyrotate_time cvar, this is not required.</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...yrotate.smx</a>(3.9 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...79"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1463662873">GetSource</a> (nmrih_emptyrotate.sp - 829 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