This plugin is a simple MP3 + Wav Player that also includes a music.ini file that you use to list the songs (download below and place into addons/amxmodx/configs folder).
Place the song names into music.ini and then place the songfile into your sound/music directory (may have to make this directory).
Then just use the following commands in association with these songs.
Commands:
amx_play - <Part Of Filename>
amx_playlist - Displays a list of sounds/music in the server playlist.
amx_stopplay - Stops currently playing sound/music.
say /stop - Client command to stop the currently playing sound/music.
Max Sounds/Songs Allowed in the music.ini file:
10 (Change this value with the #define inside of the script)
Admin Flags:
"q"
Modules:
None
Examples of music.ini usage:
music.ini:
Quote:
bad_song.mp3
cool_song.mp3
YMCA.mp3
birds.wav
These sound files should then be located in your sound/music folder. If you append(add a song to) the music.ini file, the sound/music will not be playable untill map change.
Note: Because every user must download the songs from your server when they join and most normal .mp3 files are twice the size of KZ maps, I suggest only adding small sounds and songs which are usually in .wav format.
Mad amounts of props to GHW_Chronic
Yay i got it once AGAIN!!!
music.ini download click aici
http://forums.alliedmods.net/attachment.php?attachmentid=4402&d=1141782889mp3-player.amxx download click aici
http://www.amxmodx.org/plcompiler_vb.cgi?file_id=4412mp3-player.sma download click aici
http://forums.alliedmods.net/attachment.php?attachmentid=4412&d=1141782858