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] Extended Speed Meter (v1.0, 2015-08-25)


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

Napisano 25.08.2015 20:56

<div><div align="center"><font size="5">Extended Speed Meter</font><br /><font size="4">An extended version of the popular <a href="https://forums.allie...d.php?t=143765"target="_blank">Advanced Speed Meter</a> which tracks the records.</font><br /><br /><b><font color="Red">This replaces the advspeedmeter plugin!!</font></b></div><ul><li><b>Description</b><br /><br />This plugin will display the current speed of the player in the HUD text. Players can then see the highest speeds in the current game with a command. When the map changes this plugin will save all those highest speeds. Players will be able to view the highest speeds ever achieved on the current map with a command. Also players will be able to view the highest speeds ever achieved on all maps on the server. Admins are able to manage the highest speeds records. Players can also use a help menu to find more information about the commands.<br /><br />This plugin can compile without errors or warnings in my environment.<br /><br />This plugin is a copy of the original <a href="https://forums.alliedmods.net/showthread.php?t=143765" target="_blank">Advanced Speed Meter</a> with added functionality, more convars, cleaner code (imo), translations and more future-proof (removed the warnings that the original approved plugin displays). It's also active.<br /><br />I made this plugin because I wanted a server that I play on to keep track of my speed records. After finding out that the original plugin was inactive I started exploring the great Sourcemod community. Since I'm a developper I could easily find out how everything and started building upon the original plugin. I'm sure there might be things wrong but I'm eager to learn. Please leave feedback and suggestions. :3<br /><br /></li>
<li><b>Feature list</b><br /><br />- Display current speed in HUD<br />- View all topspeeds of the current players on the current map<br />- View all speedrecords on the current map (with an optional menu to view details of the records)<br />- View all speedrecords on all maps (with an optional menu to view details of the records)<br />- Help menu with information on the commands<br />- Help message every 2 minutes (can be changed/disabled in cfg)<br />- Admin menu to manage (reset/delete) speedrecords<br />- Optional integration in the sourcemod !admin menu<br /><br />- Lots of customisation<br />- All text in translations<br />- Translations in Danish, Dutch, English, French and German (thanks to TaiwananCat, PG24 and Phatso)<br /><br /></li>
<li><b>CVAR/Command list</b><br /><br /><i>CVAR list</i> <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;">// This sets how many records should be printed in chat<br />// Default: &quot;3&quot;<br />sm_extendedspeedmeter_amountofprintedrecords &quot;3&quot;<br /><br />// This sets how many records should be shown in the topspeedmap menu (0: unlimited)<br />// Default: &quot;0&quot;<br />sm_extendedspeedmeter_amountofrecordsintopspe edmap &quot;0&quot;<br /><br />// This sets how many records should be shown in the topspeedtop menu<br />// Default: &quot;10&quot;<br />sm_extendedspeedmeter_amountofrecordsintopspe edtop &quot;10&quot;<br /><br />// This sets per how many seconds an info message for help should be printed in chat (0: disabled)<br />// Default: &quot;120&quot;<br />sm_extendedspeedmeter_amountofsecondsinfohelp printinterval &quot;120&quot;<br /><br />// This sets which database config should be used to store the topspeed table in (check addons/sourcemod/configs/databases.cfg)<br />// Default: &quot;default&quot;<br />sm_extendedspeedmeter_databaseconfigname &quot;default&quot;<br /><br />// Enables or Disables &lt;pluginname&gt; (1=Enable|0=Disable)<br />// Default: &quot;1&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;1.000000&quot;<br />sm_extendedspeedmeter_enable &quot;1&quot;<br /><br />// This sets sets the current version of the extended speed meter<br />// Default: &quot;1.0&quot;<br />sm_extendedspeedmeter_extendedspeedmeter_vers ion &quot;1.0&quot;<br /><br />// Display the highest topspeeds of the current game at the end of the game?<br />// Default: &quot;1&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;1.000000&quot;<br />sm_extendedspeedmeter_showgametopspeeds &quot;1&quot;<br /><br />// Display a message when the highest topspeed of the current map is beaten? (automatically disabled for new clients for spam reasons with new maps)<br />// Default: &quot;1&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;1.000000&quot;<br />sm_extendedspeedmeter_shownewtopspeedmapmessa ge &quot;1&quot;<br /><br />// Display the highest topspeeds of the current round at the end of the round?<br />// Default: &quot;1&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;1.000000&quot;<br />sm_extendedspeedmeter_showroundtopspeeds &quot;1&quot;<br /><br />// Display a menu to view all the highest topspeeds of the current map?<br />// Default: &quot;1&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;1.000000&quot;<br />sm_extendedspeedmeter_showtopspeedmapmenu &quot;1&quot;<br /><br />// Display a menu to view all the highest topspeeds across all maps?<br />// Default: &quot;1&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;1.000000&quot;<br />sm_extendedspeedmeter_showtopspeedtopmenu &quot;1&quot;<br /><br />// Should spectators be able to see the speed of the one they are spectating?<br />// Default: &quot;1&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;1.000000&quot;<br />sm_extendedspeedmeter_showtospecs &quot;1&quot;<br /><br />// Display topspeeds with the value 0?<br />// Default: &quot;0&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;1.000000&quot;<br />sm_extendedspeedmeter_showzerotopspeeds &quot;0&quot;<br /><br />// This sets how often the display is redrawn (this is the display tick rate).<br />// Default: &quot;0.2&quot;<br />sm_extendedspeedmeter_tick &quot;0.2&quot;<br /><br />// Unit of measurement of speed (0=kilometers per hour, 1=miles per hour, 2=units per second, 3=meters per second)<br />// Default: &quot;0&quot; Minimum: &quot;0.000000&quot; Maximum: &quot;3.000000&quot;<br />sm_extendedspeedmeter_unit &quot;0&quot;<br /></div>
</div>
</div><br /><br /><i>Commands</i><br /><br />!topspeed / !topspeeds - View all top speeds of the current players on the current map<br />!topspeedmap - View the highest top speeds of all players on the current map<br />!topspeedtop - View the highest top speeds of all players on all maps<br />!topspeedhelp - View a menu containing the above information<br /><br /><i>Admin Commands</i> <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;">!listtopspeed - Dumps all current top speeds information of the current players in the console<br />!topspeedadmin - View the admin menu for this plugin<br />!admin &gt; Topspeed Commands - View the admin menu for this plugin<br /><br />!topspeedreset - View the menu to reset a current topspeed<br />!topspeedresetall - Reset all current topspeeds<br />!topspeeddelete - View the menu to delete a previous topspeed record on this map<br />!topspeeddeleteall - Delete all previous topspeeds records on this map<br />!topspeeddeletedifferent - View the menu to delete a previous topspeed record on a different map<br /></div>
</div>
</div><br /></li>
<li><b>Changelog</b><br /><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 />

2015-08-25 (v1.0)<br /><br />* Initial release

<hr />
</td>
</tr>
</table>
</div></li>
<li><b>Installation instructions</b><br /><br /><i>Easy</i><br /><br />- Extract .zip in your mod folder. (currently available since i don't know if it compiles through the forum yet)<br /><br /><i>Manual</i><br /><br />- Click on Get plugin and put extendedspeedmeter.smx in /addons/sourcemod/plugins<br />- Put extendedspeedmeter.sp in /addons/sourcemod/scripting<br />- Put plugin.extendedspeedmeter.phrases.txt in /addons/sourcemod/translations<br />- The cfg should be automatically generated otherwise place plugin.extendedspeedmeter.cfg in /cfg/sourcemod<br /><br /></li>
<li><b>Dependencies</b><br /><br />- <a href="https://forums.allie...d.php?t=148387"target="_blank">SMLib</a> (included in .zip)<br />- <a href="https://forums.alliedmods.net/showthread.php?t=96831" target="_blank">Colors</a> (included in .zip)<br />- Sourcemod 1.6+<br />- Sourcemod Admin menu (optional)<br /><br />- Make sure to have your &quot;default&quot; database set up in /addons/sourcemod/configs/databases.cfg (the database string can be changed in the cfg file)<br /><br /></li>
<li><b>Plans</b><br /><br />- Automatic Updater<br /><br /></li>
<li><b>Media</b><br /><br /><i>Pictures (very large at the moment)</i> <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;"><img src="http://i.imgur.com/KsRWONj.jpg"border="0" alt="" /><br /><img src="http://i.imgur.com/O2BEhsg.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/ey4Woja.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/4L8HYtS.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/syPfFCU.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/7LX078x.jpg" border="0" alt="" /><br /><br /><img src="http://i.imgur.com/qYP8pLW.jpg" border="0" alt="" /><br /><br /><img src="http://i.imgur.com/u7REaUf.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/8ilgOhz.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/btZ9214.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/8I9tfMW.jpg" border="0" alt="" /><br /><img src="http://i.imgur.com/8MtYRVZ.jpg" border="0" alt="" /></div>
</div>
</div><br /><br /></li>
</ul></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/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...edmeter.zip</a>(143.5 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...07"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1440532521">GetSource</a> (extendedspeedmeter.sp - 103.4 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>(8.3 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/cfg.gif"alt="File Type: cfg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...edmeter.cfg</a>(2.8 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