SA-MP Forums Archive
Problem with audio. - 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: Problem with audio. (/showthread.php?tid=327445)



Problem with audio. - DatNewbie - 21.03.2012

Hello, I tell you my problem I'm having, I have a code that gives me no errors or warnings within the game but does not work.

if (strcmp ("/ eaudio" cmdtext, true) == 0)
{
PlayAudioStreamForPlayer (playerid, "http://www.*******-mp3.org/ # v = yYaYFYwPfmI");
return 1;
}

within the game by typing the command, the music never heard, what is the error?


Re: Problem with audio. - Unte99 - 21.03.2012

You should check that function usage:

https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer


Re: Problem with audio. - DatNewbie - 21.03.2012

I find no fault ...


Re: Problem with audio. - Unte99 - 21.03.2012

Then copy the script in wiki and check if it works. Isn't your command missing something ?

EDIT: Dang it... I'm shooting long way from the target today... Try another link, not the *******.