SA-MP Forums

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

Thread Tools Display Modes
Old 16/03/2017, 07:02 PM   #1
Join Date: Mar 2017
Posts: 2
Reputation: 4
Default Ladivars youtube music System [MySQL]

I wanted to make a music system which allows players to enter a link from youtube
and be able to play the song and save it into a file to play at their hearts content.

  • /music shows the music dialog allows players to play a song, add a song and remove a song.
  • MySQL Saving into a database for songs to load for players and play.

  • Sometimes a song doesn't play, just keep playing it intill it does
  • High ping makes it so song doesn't play don't know why.
  • Song can take anywhere from 0 to 30 seconds to play.

Include to convert youtube to mp3:

MySQL code:
PHP Code:
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- Generation TimeMar 162017 at 06:54 PM
-- Server version10.1.9-MariaDB
-- PHP Version5.5.30

SET time_zone "+00:00";

/*!40101 SET @[email protected]@CHARACTER_SET_CLIENT */;
/*!40101 SET @[email protected]@CHARACTER_SET_RESULTS */;
/*!40101 SET @[email protected]@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

Database: `sa-mp`

-- --------------------------------------------------------

Table structure for table `music`

CREATE TABLE `music` (
SongUsedint(10NOT NULL,
Namevarchar(24NOT NULL,
SongNamevarchar(256NOT NULL,
SongLinkvarchar(256NOT NULL

Indexes for dumped tables

Indexes for table `music`

AUTO_INCREMENT for dumped tables

AUTO_INCREMENT for table `music`
/*!40101 SET [email protected]_CHARACTER_SET_CLIENT */;
/*!40101 SET [email protected]_CHARACTER_SET_RESULTS */;
/*!40101 SET [email protected]_COLLATION_CONNECTION */

Screen shots and video coming soon
Ladivar is offline   Reply With Quote
Old 16/03/2017, 07:05 PM   #2
Little Clucker
ZukerCup's Avatar
Join Date: Dec 2016
Location: Egypt
Posts: 32
Reputation: 7
Default Re: Ladivars youtube music System [MySQL]

Nice and REP+
ZukerCup is offline   Reply With Quote
Old 16/03/2017, 07:10 PM   #3
Big Clucker
Join Date: Sep 2016
Posts: 112
Reputation: 18
Default Re: Ladivars youtube music System [MySQL]

Good job +REP
Sumit4 is offline   Reply With Quote
Old 16/03/2017, 07:41 PM   #4
Big Clucker
Join Date: Oct 2016
Location: India
Posts: 50
Reputation: 16
Default Re: Ladivars youtube music System [MySQL]

Nakul is offline   Reply With Quote

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
need help with music from youtube. SkinnyF Scripting Help 2 31/10/2015 12:21 AM
Music from youtube. audriuxxx Scripting Help 2 15/02/2014 04:33 PM
[FilterScript] Music System [MP3] [MySQL] HardRock Filterscripts 10 20/11/2013 02:41 PM
How To Input Music On Youtube ! [INA]Crazy Scripting Help 0 03/11/2012 04:54 PM
How to play music from youtube. Speeeeeed Scripting Help 3 16/08/2012 06:31 PM

All times are GMT. The time now is 07:00 AM.

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