SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 01/09/2017, 01:48 PM   #1
FuNkYTheGreat
Huge Clucker
 
FuNkYTheGreat's Avatar
 
Join Date: Jun 2016
Location: Pakistan.
Posts: 259
Reputation: 91
Default SA Tube v1.0 [RELEASED]


SA TUBE SYSTEM

What is it?


It's like a audio player , That plays the link you enter in search box,
and there is also a list of TOP 27 Musics, which you can also play and You can add your desire songs as well, by following the method showed below, but with some unique textdraws, Different from others,

Video

Click on the image to see the video !

Some Feautures


* Youtube GUI in samp with TextDraws.
* Youtube player.
* Alternative TOP 27 musics are available and can also be changed very easily, Just follow those steps.

Adding new custom music

Goto line 50, and add Comma " , " at the end, and then add this code, change it to your needs.
Code:
{"Song Name","www.youtube.com/YOURLINK"}
and in the last code don't add comma " , "
Now it'll show the name in dialog as well,

Total textdraws are: 76.
Version: 1.0, Stay tune for updates.

Download

Pastebin
Mediafire

Credits

FuNkYTheGreat - For making this script.
Sreyas/SyS - For the conversion of new Youtube2Mp3
adri1 - For his awesome Textdraw Editor.
Zeex - For ZCMD.

Update Logs
Code:
Converted Player Textdraws to Global TextDraws, Thanks to Pottus Changed the youtube conversion website as the old one isn't converting now, Thanks to Sreyas/SyS
Note: If it's not working then press ESC > then goto Options > Audio Setup > and make sure your Radio Volume is not 0.

Last edited by FuNkYTheGreat; 08/10/2017 at 07:14 PM.
FuNkYTheGreat is offline   Reply With Quote
Old 01/09/2017, 01:51 PM   #2
SonnyGamer
Big Clucker
 
SonnyGamer's Avatar
 
Join Date: Jun 2017
Location: Russia
Posts: 66
Reputation: 25
Default Re: SA Tube v1.0 [RELEASED]

Good job Funk!

Downloading
SonnyGamer is offline   Reply With Quote
Old 01/09/2017, 01:52 PM   #3
DonaldDuck
Huge Clucker
 
DonaldDuck's Avatar
 
Join Date: Jun 2017
Location: Philippines
Posts: 284
Reputation: 44
Default Re: SA Tube v1.0 [RELEASED]

Nice release funk! kepp it up.
__________________

Dynamic Backpack System | Dynamic Land System | Dynamic House and Furniture System | Name Tag System and much more!
--------------------------------------------------------------------------
[AG] Call of Duty - Advance Warfare (Developer)
--------------------------------------------------------------------------

Skype: JessieDuck
DonaldDuck is offline   Reply With Quote
Old 01/09/2017, 01:57 PM   #4
webby
Little Clucker
 
Join Date: Aug 2017
Location: Navodari
Posts: 13
Reputation: 2
Default Re: SA Tube v1.0 [RELEASED]

nice filterscript, maybe i will use it.

good job, funk!
webby is offline   Reply With Quote
Old 01/09/2017, 02:18 PM   #5
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,307
Reputation: 1164
Default Re: SA Tube v1.0 [RELEASED]

new PlayerText:TUBE_PTD[MAX_PLAYERS][77];

Serious waste of player textdraws use regular textdraws for any that will never change.
Pottus is offline   Reply With Quote
Old 01/09/2017, 02:22 PM   #6
crukk11
Huge Clucker
 
crukk11's Avatar
 
Join Date: Jan 2017
Location: Malaysia
Posts: 316
Reputation: 5
Default Re: SA Tube v1.0 [RELEASED]

Nice
__________________
ヽ( ͝ ͜ʖ͡)ノ
crukk11 is offline   Reply With Quote
Old 01/09/2017, 02:45 PM   #7
FuNkYTheGreat
Huge Clucker
 
FuNkYTheGreat's Avatar
 
Join Date: Jun 2016
Location: Pakistan.
Posts: 259
Reputation: 91
Default Re: SA Tube v1.0 [RELEASED]

Quote:
Originally Posted by Pottus View Post
new PlayerText:TUBE_PTD[MAX_PLAYERS][77];

Serious waste of player textdraws use regular textdraws for any that will never change.
I could have already been done that, But as i am Setting the textdraw string, According to the type of video/name,
So Global textdraw's aren't used in this thing, As Global is for everyone !

Thank You everyone !
FuNkYTheGreat is offline   Reply With Quote
Old 01/09/2017, 04:00 PM   #8
DeStRoY232
Big Clucker
 
DeStRoY232's Avatar
 
Join Date: Aug 2016
Posts: 174
Reputation: 0
Default Re: SA Tube v1.0 [RELEASED]

woahhh awesome work bro
__________________
DeStRoY232 is offline   Reply With Quote
Old 01/09/2017, 04:56 PM   #9
Eduardof077
Little Clucker
 
Join Date: Jan 2017
Location: Heaven
Posts: 17
Reputation: 33
Default Re: SA Tube v1.0 [RELEASED]

Youtube in game? Damn awesome
+rep
__________________
Don't forget to donate me
Eduardof077 is offline   Reply With Quote
Old 01/09/2017, 04:58 PM   #10
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,307
Reputation: 1164
Default Re: SA Tube v1.0 [RELEASED]

Quote:
Originally Posted by FuNkYTheGreat View Post
I could have already been done that, But as i am Setting the textdraw string, According to the type of video/name,
So Global textdraw's aren't used in this thing, As Global is for everyone !

Thank You everyone !
You use both types, global for any textdraws that will NEVER change and player textdraws for ones that do. There is only TWO lines that actually do anything to the output and only one player textdraw that ever changes.

PlayerTextDrawSetString(playerid,TUBE_PTD[playerid][23],"SA-TUBE CURRENTLY LISTENING -LINK AUDIO");
PlayerTextDrawSetString(playerid,TUBE_PTD[playerid][23],string);

- You wasted 76 player textdraws for no reason
- Approx 850 lines of code will execute for anyone who connects

I could never accept that reasoning for the magnitude of this fuck-up.
Pottus 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
ARRIBA ARRIBA! - PLAYERS, PLANES, AND FLARES INTO A TUBE! - WHAT TUBE? Dr.Einstein Screenshots and Videos 3 25/09/2013 11:41 PM
You Tube going down? Abhishek. Everything and Nothing 19 02/04/2013 08:48 PM
[Map] Over LV Tube Destroy-Kekz Maps 16 18/09/2011 08:50 AM
[Map] [MAP] BEST BIG TUBE GALAX MY FIRST MAP Tecktoniko Maps 4 13/04/2010 06:01 PM


All times are GMT. The time now is 02:21 PM.


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