SA-MP Forums Archive
Playing sound from ******* videos! - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Playing sound from ******* videos! (/showthread.php?tid=396812)



Playing sound from ******* videos! - pasha97 - 02.12.2012

I need to play sound from ******* videos, i tried to use ******* streamer, but people say it won't work anymore. Are there any ways to do whaty i need?


Re: Playing sound from ******* videos! - James Coral - 02.12.2012

yes there is :

pawn Код:
#include <a_samp>
#include <zcmd>

public OnFilterScriptInit()
{
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

main(){}


CMD:*******(playerid, params[])
{
   PlayAudioStreamForPlayer(i, "//But you streamed link here!");
    return 1;
}
this code is not tested


Re: Playing sound from ******* videos! - pasha97 - 02.12.2012

Quote:
Originally Posted by James Coral
Посмотреть сообщение
yes there is :

pawn Код:
#include <a_samp>
#include <zcmd>

public OnFilterScriptInit()
{
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

main(){}


CMD:*******(playerid, params[])
{
   PlayAudioStreamForPlayer(i, "//But you streamed link here!");
    return 1;
}
this code is not tested
wtf playaudiostreamforplayer cannot play ******* videos!


Re: Playing sound from ******* videos! - pasha97 - 02.12.2012

anybody knows?