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

Mp3 player


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:         
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 03-02-2006 , 14:22   Mp3 player
Reply With Quote #1

This is my first plugin, I studied others 3 plugings and i made this one

Admin commands:
amx_mp3 (filename) -- all players listen to the music
amx_stopmp3 -- stop mp3

Free user commands:
amx_playmp3 (filename) -- the single player listen the music
say /stop -- the single player stop to listen to the mp3

How to install:
Quote:
place the musics at:
$mod/sound/mp3/

Creat a file at:
amxmodx/configs/mp3_SoundList.ini

add the musics at the mp3_SoundList.ini without the .mp3 or the file directory (exemple: rambo or timeisnow)

than at the game amx_mp3 (filename)
I hope you like it

Now I am working to allow precache mp3 in any folder
Attached Files
File Type: sma Get Plugin or Get Source (mp3player.sma - 878 views - 2.0 KB)
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
JKB
Member
Join Date: Jan 2006
Old 03-02-2006 , 14:34  
Reply With Quote #2

hehe nice, i like the 'say /stop' command
__________________
Quote:
Chuck Norris doesn't sleep. He waits.
JKB is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-02-2006 , 14:42  
Reply With Quote #3

I have a feeling this might get trashed. The admins have been getting tired of all these mp3 players going around. It doesn't bother me but I am just putting out a warning!
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-02-2006 , 14:45  
Reply With Quote #4

if it werent EXACTLY the same as http://forums.alliedmods.net/showthread.php?t=17931 then it would be ok. (and still get trashed) but since it is EXACTLY (coulda just copied the code and reposted its so exact) it's trash. (Mod's decision though)
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 03-02-2006 , 14:53  
Reply With Quote #5

i see what you mean,
1. the guy get tired of the same music
2. wrong file name the server crashses

oh well, thank you anyway
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-02-2006 , 14:57  
Reply With Quote #6

I don't see what you mean... You definately confused me with that horrible english

Let's do a little comparison

Yours:
put music into .ini file and admin can play it and client can stop it
no bugs (I don't think)
Posted: Mar 02, 2006

His:
put music into .ini file and admin can play it and client can stop it
no bugs
Posted: Sep 12, 2005
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-02-2006 , 14:59  
Reply With Quote #7

Reeeeeeeeeeeeeeeeeeedundant.
Brad is offline
Reply


Thread Tools
Display Modes

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 03:17.


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