20.08.2012, 05:02
(
Last edited by Nightmare[TR]; 20/08/2012 at 07:27 PM.
Reason: Updated
)
******* Streamer
Hi,i've fixed usrb1n's include,and i'm sharing with you.
Thanks to usrb1n for idea,but i didn't used anything from usrb1n.
I tried to make it with pawn,but i can't.So,i used php,your way goes like this; You->My Site(Adds JSON and crops link)->download link.
So,you're passing thru my site,if you want php page,just send me a pm.
Thanks to erorcun for php.
Usage:
--Updated,functions changed for personal or anyone choosing.
http://pastebin.com/wjqNhsX7
PHP Side: http://pastebin.com/8KszzYGm
Hi,i've fixed usrb1n's include,and i'm sharing with you.
Thanks to usrb1n for idea,but i didn't used anything from usrb1n.
I tried to make it with pawn,but i can't.So,i used php,your way goes like this; You->My Site(Adds JSON and crops link)->download link.
So,you're passing thru my site,if you want php page,just send me a pm.
Thanks to erorcun for php.
Usage:
pawn Code:
*******StreamForPlayer(playerid,"http://www.youtube.com/watch?v=My0HQ0QkGLQ"); // Starts the music for player
*******StreamForAll("http://www.youtube.com/watch?v=My0HQ0QkGLQ"); // Starts the music for all
*******StopStreamForPlayer(playerid); // Stops the music for player
*******StopStreamForAll(); // Stops the music for all
http://pastebin.com/wjqNhsX7
PHP Side: http://pastebin.com/8KszzYGm