Help me
#1

i've Create this ******* Play Music But i can't heart nothing Please help me

PHP код:
#define DIALOG_MUSIC 280 
PHP код:
    if(dialogid == DIALOG_MUSIC)
    {
                if(!
response) return 1;
                if(!
strlen(inputtext)) return ShowPlayerDialog(playerid,DIALOG_MUSIC,DIALOG_STYLE_INPUT,"PlayTube by iRaiDeN""Please input the URL of the song you want (Example: wwww.youtube.com/watch?v=VID Change the VID!)","Play","Cancel");
                if(
strfind(inputtext,"www.*******.com",true) == -1) return ShowPlayerDialog(playerid,DIALOG_MUSIC,DIALOG_STYLE_INPUT,"PlayTube""Please input the URL of the song you want (Example: wwww.youtube.com/watch?v=VID Change the VID!)","Play","Cancel");
                new 
localURL[128];
                
strmid(localURL,inputtext,strfind(inputtext"v=")+2,strfind(inputtext"v=")+19);
                new 
localString[128];
                
format(localString128"http://*******InMP3.com/fetch/?video=%s",localURL);
                for(new 
i!= MAX_PLAYERSi++) PlayAudioStreamForPlayer(i,localString);
                return 
1;
    } 
PHP код:
CMD:ytplay(playeridparams[])
{
    
ShowPlayerDialog(playerid,DIALOG_MUSIC,DIALOG_STYLE_INPUT,"PlayTube by iRaiDeN""Please input the URL of the song you want (Example: wwww.youtube.com/watch?v=VID Change the VID!)","Play","Cancel");
    return 
1;
}
CMD:ytstop(playeridparams[])
{
    
StopAudioStreamForPlayer(playerid);
    return 
1;

Help me +rep and Sry For My bad english
Reply
#2

I remember ******* Filterscript was supported in 0.3b only. I'm 100% you are wasting your time in a script that is not supported anymore.
Reply
#3

They aren't full working ******* music streamer includes / filterscrits, so don't wasting your time searching for this.
Reply


Forum Jump:


Users browsing this thread: