[FilterScript] SimpleDynamic MP3 Player - MySQL Based (0.3D)
#1

SimpleDynamic MP3 Player - MySQL Based
(done in 15 minutes)
Simple filter scripts by Rudyy
Only for 0.3d servers
Rudy's first filterscript release

Command list:
/createsong [ID] [url] [name] (RCON ADMIN) (To create songs added to /mp3 dialog)
/changesong [ID] [url] [name] (RCON ADMIN) (To change existing ID songs without deleting them)
/mp3 [ID] (If you didnt put an id, it will show you the list of avaliable songs.)
/stopmusic (<<< stops music)
/nowplaying (shows the song you are playing IF you are playing a song)

It is all connected TO MYSQL server & database. So you HAVE to set your SQL database first before being able to use it. It can be set at the top of THE script #define. line8-11.



Please be also noted that youtube links are not accepted in this script. You must put a link that ends with .mp3 for example:
http://www.ddotomen.com/wp-content/uploa...dacris.mp3
(You can get music links from beemp3.com )

Download links:
Paste Bin

Image:




MYSql Code:

Code:
CREATE TABLE  `yourdatabasename`.`songs` (
`ID` TEXT NOT NULL ,
`Name` TEXT NOT NULL ,
`link` TEXT NOT NULL
) ENGINE = MYISAM
Reply
#2

if my link have %, can play the music ? , i tell you becouse, im do a same fs, and i have that problem
Reply
#3

well, you can test that out. i guess it can play links with %. or maybe find others without % . or download the song or you may also upload to your own website
Reply
#4

No, i put the %, and i see #, no works with my links
Reply
#5

what the database in sql must have table field ?
Reply
#6

hmmmmm, then it must be sa-mp problem
Reply
#7

Why i load this fs into server it don't have anything happen
Reply
#8

check server console. any notice on sql connection?
Reply
#9

Nice script, can you upload SQL dump it'll be helpful to test the script
Reply
#10

Fuck you Justin Bieber
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)