SA-MP Forums Archive
[FilterScript] SimpleDynamic MP3 Player - MySQL Based (0.3D) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SimpleDynamic MP3 Player - MySQL Based (0.3D) (/showthread.php?tid=306185)



SimpleDynamic MP3 Player - MySQL Based (0.3D) - Rudyy - 25.12.2011

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/uploads/2010/01/justin_bieber-baby_feat_ludacris.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



Respuesta: SimpleDynamic MP3 Player - MySQL Based (0.3D) - [Nikk] - 25.12.2011

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


Re: SimpleDynamic MP3 Player - MySQL Based (0.3D) - Rudyy - 25.12.2011

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


Respuesta: SimpleDynamic MP3 Player - MySQL Based (0.3D) - [Nikk] - 25.12.2011

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


Re: SimpleDynamic MP3 Player - MySQL Based (0.3D) - xinix000 - 25.12.2011

what the database in sql must have table field ?


Re: SimpleDynamic MP3 Player - MySQL Based (0.3D) - Rudyy - 25.12.2011

hmmmmm, then it must be sa-mp problem


Re: SimpleDynamic MP3 Player - MySQL Based (0.3D) - xinix000 - 25.12.2011

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


Re: SimpleDynamic MP3 Player - MySQL Based (0.3D) - Rudyy - 25.12.2011

check server console. any notice on sql connection?


Re: SimpleDynamic MP3 Player - MySQL Based (0.3D) - royal_king - 25.12.2011

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


Respuesta: SimpleDynamic MP3 Player - MySQL Based (0.3D) - Manuel7284 - 25.12.2011

Fuck you Justin Bieber