Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2014
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. Music Player - Advanced v2.0
  2.  
  3.  
  4.  
  5. -Description-
  6.  
  7. In this plugin, you can listen to music while you are in-game instead of going to Youtube or any other music websites and lagging all day in the server. Plus, in this plugin there's no need to make the players download any file. It's the most powerful music player in Half Life. There's no limit of how many songs you add to the file. If you like this plugin make sure to rate it
  8.  
  9. -Commands-
  10.  
  11. Code:
  12. Players:
  13. /musichelp - Opens a motd to show all the commands available. [ If ADMIN_CFG, it shows the amx_addsong command ]
  14. /music - Opens the list of all the songs added in the server.
  15. /search "song/name" - Searches for a specific song instead of scrolling for hours in the menu ( Don't use the quotes while you're searching ).
  16. /replay - Replays the last played song.
  17. /copy - Copies the last song played by the last player.
  18. /stop - Stops the music.
  19.  
  20. Admins: (CFG)
  21. amx_addsong "Song name" "Url/Link" | Attention: Put them with quotes. E.g: amx_addsong "Billy Ocean - Suddenly" "http://www.youtube.com/watch?v=6H0iYsHlanw"
  22.  
  23. Admins: (Cvar)
  24. sv_connectmessage 1 - Default is 1 [ 1 = on 0 = off ]
  25. sv_showcommands 0 - Default is 0 [ 1 = Shows the commands in chat 0 = Don't show the commands in chat ]
  26. -Installation-
  27.  
  28. Put the .amxx in cstrike/addons/amxmodx/plugins
  29. -Then in cstrike/addons/amxmodx/configs/plugins.ini
  30. You will type( Anywhere under 3rd party plugins ):
  31. PHP Code:
  32. AdvancedMusicPlayer.amxx
  33. Then put the songlist.txt files in cstrike/addons/amxmodx/configs.
  34.  
  35. After you put the songlist.txt files, make sure that you added the AdvMusicPlayer.html file
  36. in same directory as the songlist.txt file.
  37.  
  38. Lang File: AdvMusicPlayer.txt you need to put it in cstrike/addons/amxmodx/data/lang
  39.  
  40. -Notes-
  41.  
  42. What do you need to know is how to add songs to the plugin or the server. Well it's simple. You can add any song links you like. Some websites don't accept or don't let it play, it's their domains privacy. I recommend you to use Youtube. It's the most popular music website of all time and it's really a good website.
  43. The format is: "Song Name" "Song URL/Link"
  44. For example: "Eminem - Mockingbird" "http://www.youtube.com/watch?v=S9bCLPwzSC0"
  45.  
  46. You add that line in the songlist.ini file under the lines. It's 1 song each line.
  47.  
  48. This is a Music Player which when you want to play some music, it will only be played for the person not the whole server.
  49. Note that you don't need to reload the file anymore to add the song or restart the server or the map. Once you have done
  50. amx_addsong "song" "url/link" the song will automatically be added to the file and to the server.
  51.  
  52. The multilingual file ' AdvMusicPlayer.txt ' will be uploaded separately as i will update it more often as the people who will help
  53. me translate more and more.
  54.  
  55. Important 1: If your MOTD is all white or there's nothing at all when you want to play the music well you can fix it by following these steps.
  56.  
  57. Step 1: Open your cs folder (Steamapps/common/Half-Life)
  58. Step 2: You create a new folder named "cstrike_addon"
  59. Step 3: Close your cs folder and open your Counter-Strike and you're done!
  60.  
  61. Important 2: If in the center of your MOTD you got 'Missing Plug-in' well you need to follow these steps.
  62.  
  63. Step 1: Go to the Adobe Flash Player site (http://www.adobe.com/nl/products/flashplayer/)
  64. Step 2: Click the download link: 'download flash player'
  65. Step 3: Choose Other operating system or browser?
  66. Step 4: Select your operating system.
  67. Step 5: Then version: flash player 10.1 - other browsers and download it.
  68. Step 6: Install flash player than reboot your pc.
  69. Step 7: Have fun listening to music in-game!
  70.  
  71. -Credits-
  72. Allied Gamers Community.
  73. Multilingual Support.
  74. Cheap_Suit.
  75. myusername.
  76. YamiKaitou.
  77. Arkshine.
  78. Black Rose.
  79. fysiks.
  80.  
  81. Servers using this plugin!
  82.  
  83. -ChangeLog-
  84.  
  85. Plugin ChangeLog:
  86. Code:
  87. v1.0:
  88. * Released.
  89. v1.1:
  90. * Fixed some spacing.
  91. v1.2:
  92. * Fixed a variable.
  93. v1.3:
  94. * Added amx_addsong.
  95. * Fixed some spacing.
  96. v1.4:
  97. * Re-written all the plugin to make it nice.
  98. * Removed ColorChat Stock.
  99. * Included colorchat.
  100. v1.5:
  101. * Re-written the plugin.
  102. * Made all the changes required.
  103. * Used Arrays.
  104. * Added Multilingual.
  105. * Removed amx_reloadfile.
  106. * Removed all the 'b'.
  107. * Added a connect message.
  108. * Added client_print_color instead of ColorChat.
  109. v1.6:
  110. * Fixed the song limit.
  111. * Fixed some spacing as well.
  112. v1.7:
  113. * Fixed amx_addsong lines.
  114. v1.8:
  115. * Added NOT_FOUND in lang file.
  116. v1.9:
  117. * Added a CVAR to show the commands in chat or not.
  118. v2.0:
  119. * Added /musichelp command.
  120. Multilingual ChangeLog:
  121. Code:
  122. Log:
  123. * Was only English.
  124. * Added Fr + De.
  125. * Added Sv.
  126. * Added Pl.
  127. * Added Al.
  128.  
  129. -Thank you, Baws.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement