Raised This Month: $32 Target: $400
 8% 

Server with music.


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
zveriOk
Junior Member
Join Date: Jan 2009
Location: Lithuania
Old 01-27-2009 , 04:56   Server with music.
Reply With Quote #1

While i'm working with LJ.sma I decided to create a lesson how to do, that in your server play music.

1. Firstly we download plugin.
2. Secondly we load plugin into : valve/cstrike/addons/amxmodx/plugins.
3. Then we go to : valve/cstrike/addons/amxmodx/config And there create file named music.ini
4. Now we go to valve/cstrike/sounds directory and create music Folder.
5. We upload songs to sounds/music directory.

Attention, the most you can lift 10 songs. If you upload more than 10 songs, only the first 10 will be played

6. When you upload the songs go to valve/cstrike/addons/amxmodx/config/music.ini file. And now you write name of songs, that you upload to sound/music directory, as example :

Polymental - Chapter One.mp3

Kanye West - Flashing Lights (ft. Dwele).mp3

Metal On Metal - No Front Teeth.mp3

It is necessary to track the gap down. In the same way as here.

7. When you finish upload the song and write them into music.ini file. If you do that, go to users.ini file and give yourself flag "q"
Then you could Turn on / off / pause songs, etc.

Admin Commands

amx_play - <Song name>
amx_playlist - Shows your all songs.
amx_stopplay - Stop the music.
Write / in chat /stop and the man to write /stop, the music is off.

Adminsitration Flag's

"q"

Most of songs can be downloaded

"10"

Attention I suggest the placement of songs in the host, because if not in the host it will send them about 10 minutes.

Good luck in the game and enjoy listening!
Attached Files
File Type: sma Get Plugin or Get Source (mp3-wav_player.sma - 1059 views - 3.0 KB)
__________________
No Music @ No Life. No artist

Last edited by YamiKaitou; 01-27-2009 at 12:31.
zveriOk is offline
Send a message via Skype™ to zveriOk
Joker4ever
Member
Join Date: Dec 2008
Old 01-27-2009 , 05:10   Re: Server with music.
Reply With Quote #2

0.0 First! GJ..
Joker4ever is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-27-2009 , 12:28   Re: Server with music.
Reply With Quote #3

Please explain how this one is unique when compared to the other existing media players on this forum.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-27-2009 , 12:30   Re: Server with music.
Reply With Quote #4

Please convert the RAR file to ZIP format

EDIT: RAR file removed. DO NOT UPLOAD AMXX FILES (second time)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 01-27-2009 at 12:32.
YamiKaitou is offline
Plug me up
Member
Join Date: Aug 2008
Old 01-27-2009 , 20:17   Re: Server with music.
Reply With Quote #5

players downloads the musics or not?
__________________
always +karma to thoose who helps
Plug me up is offline
zveriOk
Junior Member
Join Date: Jan 2009
Location: Lithuania
Old 01-28-2009 , 00:27   Re: Server with music.
Reply With Quote #6

Player will download music, because he is hearing it too.
__________________
No Music @ No Life. No artist
zveriOk is offline
Send a message via Skype™ to zveriOk
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 01-28-2009 , 10:37   Re: Server with music.
Reply With Quote #7

zveriOk, non-Steam?
__________________
hleV is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 01-28-2009 , 10:52   Re: Server with music.
Reply With Quote #8

As much as I dislike this plugin, I must request a suggestion:

Create a PCVAR to control the number of songs allowed to be uploaded.
BOYSplayCS is offline
zveriOk
Junior Member
Join Date: Jan 2009
Location: Lithuania
Old 01-28-2009 , 11:06   Re: Server with music.
Reply With Quote #9

Quote:
Originally Posted by hleV View Post
zveriOk, non-Steam?
I have 2 steam accounts. And as well non-steam. So?
__________________
No Music @ No Life. No artist
zveriOk is offline
Send a message via Skype™ to zveriOk
yaotzin
Member
Join Date: Aug 2006
Old 02-02-2009 , 17:25   Re: Server with music.
Reply With Quote #10

sv_downloadurl "http://192.168.1.20/cstrike"

files(maps,sound) from my server downloading from http, but when I used your plugin - mp3 will download from server, WHY?
yaotzin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode