SA-MP Forums Archive
[FilterScript] SA Tube v1.0 [RELEASED] - 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] SA Tube v1.0 [RELEASED] (/showthread.php?tid=640346)

Pages: 1 2


SA Tube v1.0 [RELEASED] - FuNkYTheGreat - 01.09.2017

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


* ******* GUI in samp with TextDraws.
* ******* 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.*******.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 *******2Mp3
adri1 - For his awesome Textdraw Editor.
Zeex - For ZCMD.

Update Logs
Code:
Converted Player Textdraws to Global TextDraws, Thanks to Pottus Changed the ******* 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.



Re: SA Tube v1.0 [RELEASED] - SonnyGamer - 01.09.2017

Good job Funk!

Downloading


Re: SA Tube v1.0 [RELEASED] - DonaldDuck - 01.09.2017

Nice release funk! kepp it up.


Re: SA Tube v1.0 [RELEASED] - webby - 01.09.2017

nice filterscript, maybe i will use it.

good job, funk!


Re: SA Tube v1.0 [RELEASED] - Pottus - 01.09.2017

new PlayerText:TUBE_PTD[MAX_PLAYERS][77];

Serious waste of player textdraws use regular textdraws for any that will never change.


Re: SA Tube v1.0 [RELEASED] - crukk11 - 01.09.2017

Nice


Re: SA Tube v1.0 [RELEASED] - FuNkYTheGreat - 01.09.2017

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 !


Re: SA Tube v1.0 [RELEASED] - DeStRoY232 - 01.09.2017

woahhh awesome work bro


Re: SA Tube v1.0 [RELEASED] - Eduardof077 - 01.09.2017

******* in game? Damn awesome
+rep


Re: SA Tube v1.0 [RELEASED] - Pottus - 01.09.2017

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.


Re: SA Tube v1.0 [RELEASED] - FuNkYTheGreat - 01.09.2017

Fixed, Now there are total 75 of Global TextDraw's and 1 Player TextDraw.
Thank you Pottus !


Re: SA Tube v1.0 [RELEASED] - Zeth - 01.09.2017

i like those textdraws , amazing!


Re: SA Tube v1.0 [RELEASED] - Pottus - 02.09.2017

Quote:
Originally Posted by FuNkYTheGreat
Посмотреть сообщение
Fixed, Now there are total 75 of Global TextDraw's and 1 Player TextDraw.
Thank you Pottus !
Much better that is the way it is done


Re: SA Tube v1.0 [RELEASED] - FuNkYTheGreat - 02.09.2017

Quote:
Originally Posted by Debjit
Посмотреть сообщение
i like those textdraws , amazing!
Thank you.

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Much better that is the way it is done
Thanks for telling me this !


Re: SA Tube v1.0 [RELEASED] - Barnwell - 02.09.2017

Awesome +REP!


Re: SA Tube v1.0 [RELEASED] - NitroZeth - 02.09.2017

what plugins use this? it give this error when i start the server

[18:15:58] [debug] Run time error 19: "File or function is not found"
[18:15:58] [debug] TextDrawSetPreviewModel
[18:15:58] [debug] TextDrawSetPreviewRot
[18:16:37] [debug] Run time error 19: "File or function is not found"
[18:16:37] [debug] TextDrawSetPreviewModel
[18:16:37] [debug] TextDrawSetPreviewRot
[18:16:40] [debug] Run time error 19: "File or function is not found"


Re: SA Tube v1.0 [RELEASED] - Xeon™ - 02.09.2017

Quote:
Originally Posted by NitroZeth
Посмотреть сообщение
what plugins use this? it give this error when i start the server

[18:15:58] [debug] Run time error 19: "File or function is not found"
[18:15:58] [debug] TextDrawSetPreviewModel
[18:15:58] [debug] TextDrawSetPreviewRot
[18:16:37] [debug] Run time error 19: "File or function is not found"
[18:16:37] [debug] TextDrawSetPreviewModel
[18:16:37] [debug] TextDrawSetPreviewRot
[18:16:40] [debug] Run time error 19: "File or function is not found"
upgrade to 0.3.7 come-on


Re: SA Tube v1.0 [RELEASED] - Astralis - 02.09.2017

Nicely done.


Re: SA Tube v1.0 [RELEASED] - FuNkYTheGreat - 05.09.2017

Quote:
Originally Posted by Barnwell
Посмотреть сообщение
Awesome +REP!
Quote:
Originally Posted by Astralis
Посмотреть сообщение
Nicely done.
Thank you mate's !


Re: SA Tube v1.0 [RELEASED] - B3x7K - 07.09.2017

Wow, awesome script dude ^_^

Downloading now XD