Advance Media Player
2 Attachment(s)
.: Description :.
Player's can play music without downloading from your server. This will not work on mods without MOTDs. If it's your first time using this, just run the plugin to generate the required files (which will be in your configs folder.) Now to add music edit the amp_medialist.ini. You can also use the command amx_addmedia to add music. Mods that worked so far: CS, DOD. Media format that worked so far: asx, mp3, wma. .: Client Commands :. say /playmusic - Show media menu. say /stopmusic - Stops current media. say /reload - Reload current media .: Admin Commands :. amx_addmedia - usage: <media name> <media url> | WARNING: BE SURE NOT TO HAVE A TYPO. amx_setmedia - usage: <@all|playerID> <media ID> | set media for player(s) amx_reloadmedia - reload's the amp_medialist.ini file. amx_listmedia - show's all media available also to get the media id for admins. amx_listeners - show's all current media playing. .: History :.
|
<object id="MediaPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Microsoft Windows Media Player components..."> <param name="Filename" value="URL OF MUSIC"> <param name="AnimationAtStart" value="false"> <param name="TransparentAtStart" value="false"> <param name="ShowControls" value="true"> <param name="PlayCount" value="false"> <param name="AutoPlay" value="true"> </object> Where do u put the code? |
in an html file, i made some demos look at them
|
where?
also how do u create a html file? |
can u play the music off ur computer?
if not anyone know a good site to get music from? |
Help Me PLease
im in the game i dont no wat to type to play the music wat do i do with the cmusic.zip
|
godess
this's so cool :shock: |
ok ppls
you can edit an existing html by: -right click --edit you can also make your own html file from a notepad just save it as <name>.html cmusic goes to amxx/config How to add ur every own music: open a notepad this is the code I use in hardtrance // background colour <body bgcolor="#000"> // font colour <font color="#ffff"> //just some info about what are they going listen <center>You are listening to Hard Trance.. Brought you by DI //the code for Window Media Player <center><object id="MediaPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Microsoft Windows Media Player components..."> <param name="Filename" value="http://www.di.fm/wma/hardtrance.asx"> <param name="AnimationAtStart" value="false"> <param name="TransparentAtStart" value="false"> <param name="ShowControls" value="true"> <param name="PlayCount" value="false"> <param name="AutoPlay" value="true"> </object> http://www.di.fm/wma/hardtrance.asx is the link to the music //this an easier version (no controler) <bgsound src="URL OF MUSIC"> After this save it as .html eg. hardtrance.html put this file in cmusic folder now if you want to listen to this in the game say: /hardtrance OTHER Files: mstop - stop the playing the music music - you must add a list of music here for people know the command hope this will be helpful :roll: |
It would be nice if this plugin at least advertized its own main command.
/musiclist /stopmusic :) |
if i play a music on server
everybody can hear the music? or the music can hearing only my self ? thx explanation.... :) |
All times are GMT -4. The time now is 20:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.