SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 25/12/2011, 03:52 PM   #1
Rudyy
Big Clucker
 
Rudyy's Avatar
 
Join Date: Oct 2009
Posts: 50
Reputation: 7
Default SimpleDynamic MP3 Player - MySQL Based (0.3D)

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
__________________
Bleh ~

Last edited by Rudyy; 25/12/2011 at 05:37 PM.
Rudyy is offline   Reply With Quote
Old 25/12/2011, 04:14 PM   #2
[Nikk]
High-roller
 
[Nikk]'s Avatar
 
Join Date: Jun 2011
Location: Argentina.
Posts: 1,471
Reputation: 63
Default Respuesta: SimpleDynamic MP3 Player - MySQL Based (0.3D)

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


[Nikk] is offline   Reply With Quote
Old 25/12/2011, 04:16 PM   #3
Rudyy
Big Clucker
 
Rudyy's Avatar
 
Join Date: Oct 2009
Posts: 50
Reputation: 7
Default Re: SimpleDynamic MP3 Player - MySQL Based (0.3D)

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
__________________
Bleh ~
Rudyy is offline   Reply With Quote
Old 25/12/2011, 04:25 PM   #4
[Nikk]
High-roller
 
[Nikk]'s Avatar
 
Join Date: Jun 2011
Location: Argentina.
Posts: 1,471
Reputation: 63
Default Respuesta: SimpleDynamic MP3 Player - MySQL Based (0.3D)

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


[Nikk] is offline   Reply With Quote
Old 25/12/2011, 04:28 PM   #5
xinix000
Big Clucker
 
Join Date: May 2010
Posts: 104
Reputation: 0
Default Re: SimpleDynamic MP3 Player - MySQL Based (0.3D)

what the database in sql must have table field ?
xinix000 is offline   Reply With Quote
Old 25/12/2011, 04:30 PM   #6
Rudyy
Big Clucker
 
Rudyy's Avatar
 
Join Date: Oct 2009
Posts: 50
Reputation: 7
Default Re: SimpleDynamic MP3 Player - MySQL Based (0.3D)

hmmmmm, then it must be sa-mp problem
__________________
Bleh ~
Rudyy is offline   Reply With Quote
Old 25/12/2011, 04:52 PM   #7
xinix000
Big Clucker
 
Join Date: May 2010
Posts: 104
Reputation: 0
Default Re: SimpleDynamic MP3 Player - MySQL Based (0.3D)

Why i load this fs into server it don't have anything happen
xinix000 is offline   Reply With Quote
Old 25/12/2011, 05:05 PM   #8
Rudyy
Big Clucker
 
Rudyy's Avatar
 
Join Date: Oct 2009
Posts: 50
Reputation: 7
Default Re: SimpleDynamic MP3 Player - MySQL Based (0.3D)

check server console. any notice on sql connection?
__________________
Bleh ~
Rudyy is offline   Reply With Quote
Old 25/12/2011, 05:10 PM   #9
royal_king
Gangsta
 
royal_king's Avatar
 
Join Date: Jul 2010
Location: Hyderabad, India (i think)
Posts: 597
Reputation: 38
Default Re: SimpleDynamic MP3 Player - MySQL Based (0.3D)

Nice script, can you upload SQL dump it'll be helpful to test the script
__________________
Freelancing Web Developer & Designer
Contact Info:
Skype - viswanath608
royal_king is offline   Reply With Quote
Old 25/12/2011, 05:15 PM   #10
Manuel7284
Huge Clucker
 
Manuel7284's Avatar
 
Join Date: Dec 2010
Posts: 364
Reputation: 3
Default Respuesta: SimpleDynamic MP3 Player - MySQL Based (0.3D)

Fuck you Justin Bieber
__________________
Dueño de Guerra de Pandillas
Manuel7284 is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[PHP+DJSON] DMap 0.4 - Dynamic Website Player/Car/Obj/Shop Map(******Maps based) DracoBlue Maps 272 08/08/2014 11:57 AM
[FilterScript] r_Register MySQL BASED Registration FS Raimis_R Filterscripts 65 03/08/2014 07:54 AM
Mysql based GM? DRIFT_HUNTER Everything and Nothing 1 10/06/2011 10:04 AM
mysql based fs THE_KNOWN Help Archive 2 22/01/2011 07:53 AM


All times are GMT. The time now is 04:33 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.