Any audiostream filterscript???
#5

Quote:
Originally Posted by iliasGR
Посмотреть сообщение
thanks I found another one
Код:
//more advanced ? (using 2.0 functions)

#include <[MV]_*******>
#include <sscanf2>
#include <zcmd>

CMD:play(playerid,params[])
{
    new link[128];
    if(sscanf(params,"s[128]",link)) return SendClientMessage(playerid,RED,"Usage: /play [*******-url]");
    if(!IsValid*******URL(link)) return SendClientMessage(playerid,RED,"Invalid ******* link !");
    if(strlen(link) >= 128) return SendClientMessage(playerid,RED,"Link too long !");
    Play*******VideoForPlayer(playerid,link);
	return 1;
}

//This is the image on top of this post (the dialog)
CMD:songinfo(playerid,params[])
{
	new info[256];
	if(!Is*******VideoPlaying(playerid)) return SendClientMessage(playerid,RED,"There isn't any song playing at the moment.");
	format(info,sizeof(info),"Current song info:\n\n%s\nDuration: %d seconds\nLink: %s",GetVideoTitle(playerid),GetVideoDuration(playerid),GetVideoLink(playerid));
	ShowPlayerDialog(playerid,DIALOG_SONGINFO,DIALOG_STYLE_MSGBOX,"Song info",info,"OK","");
	return 1;
}
it will works?
How about try that by yourself? I believe that'd be faster than asking people here to test and tell you the result.
Reply


Messages In This Thread
Any audiostream filterscript??? - by Ilias_ - 27.06.2017, 18:27
Re: Any audiostream filterscript??? - by Bingo - 27.06.2017, 20:23
Re: Any audiostream filterscript??? - by Astralis - 27.06.2017, 20:39
Re: Any audiostream filterscript??? - by Ilias_ - 28.06.2017, 06:44
Re: Any audiostream filterscript??? - by X337 - 28.06.2017, 07:41
Re: Any audiostream filterscript??? - by Ilias_ - 28.06.2017, 08:32
Re: Any audiostream filterscript??? - by iLearner - 28.06.2017, 09:21
Re: Any audiostream filterscript??? - by Ilias_ - 28.06.2017, 10:55

Forum Jump:


Users browsing this thread: 3 Guest(s)