<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><font face="Tahoma"><font size="6"><font color="green"><b>Music Menu<br /><font size="5">Hear music while playing ;]</font></b></font></font></font></div><br /><font size="4"><b><font color="Dodgerblue">Introduction</font></b></font><br /><br />Hey all, this is my first plugin i publish here.<br />With this plugin you can basically hear music.<br />The songs in the music menu are loaded from a file <b><i>[musicmenu.ini]</i></b>.<br />In the music-menu you can choose a song, choose volume, show the author, and an admin option: play to all players in the server.<br />the cvar can be change in the define MUSIC_ACCESS.<br />* Originally the plugin is for jailbreak, but can be used in other mods. *<br /><br /><font size="4"><b><font color="Dodgerblue">Commands</font></b></font><br /><br />♦ /music | /musicmenu | /mm - Open the music menu.<br />♦ /stop | /stopmusic | /musicstop - Stop the music.<br /><br /><font size="4"><b><font color="Dodgerblue">How to add songs to file</font></b></font><br /><b>How to add a song to file:</b><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">"music name" "music author" "music path"</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->* Note: the path is without sound dir.<br /><br /><b>Examples:</b><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">"Music #1" "Author" "MusicMenu/song_1.mp3"<br />"Gangnam Style" "PSY" "MusicMenu/gangnam_style.mp3"</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font size="4"><b><font color="Dodgerblue">Installations</font></b></font><br /><br />♦ Download the "Get Plugin" file (In the attachments), and put it in: cstrike/addons/amxmodx/plugins.<br />♦ Go to cstrike/addons/amxmodx/configs and open the plugins.ini file,<br />♦ Add there the line "music_menu.amxx". Now run the server, the server will automatic create a file named "MusicMenu.ini" in cstrike/addons/amxmodx/configs. <br />• Edit the file, restart the server and here you have a music menu plugin.<br /><br /><font size="4"><b><font color="Dodgerblue">Credits</font></b></font><br /><br />♦ Thanks to <a href="https://forums.allie...er.php?u=190045" target="_blank">ColdWar</a> for helping with the array, and fix minor bugs.<br />♦ Credit to me for create the plugin.<br /><br /><font size="4"><b><font color="Dodgerblue">Screenshots</font></b></font><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;"><br /><img src="http://img196.images...41/image1am.jpg" border="0" alt="" /><br /><br /><img src="http://img248.images...6/image2kan.jpg" border="0" alt="" /><br /><br /><img src="http://img801.images...54/image3gu.jpg" border="0" alt="" /><br /></div>
</div>
</div><br /><br /><font size="4"><b><font color="Dodgerblue">Attachments</font></b></font></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/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=120526"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1369934288">Get Source</a> (music_menu.sma - 7.4 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse

Music Menu v1.0 - Hear music while playing ;]
Temat rozp. Adminek AMXX.PL, 30.05.2013 19:00
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych