My radio FS doesnt work - 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: My radio FS doesnt work (
/showthread.php?tid=462105)
My radio FS doesnt work -
bustern - 05.09.2013
WHen i press the dialog it shows the text and in chat:Audio Stream [LINK] , but i cant hear radio....
PHP код:
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid, "hhtp://cnr-radio.com/listen.m3u");
GameTextForPlayer(playerid, "Playing 181.FM - POWER 181",2500,1);
}
Re: My radio FS doesnt work -
iZN - 05.09.2013
Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play that playlist.
Re: My radio FS doesnt work -
bustern - 05.09.2013
I tried with .pls link and again doesnt work :@
Re: My radio FS doesnt work -
iZN - 05.09.2013
That playlist should contain mp3 or ogg/vorbis. There might be same dialog ID which is conflicting.
Re: My radio FS doesnt work -
bustern - 05.09.2013
How to get radio links in
http://www.shoutcast.com/ ?
Re: My radio FS doesnt work -
xganyx - 05.09.2013
I know what is your broblem
pawn Код:
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid, "hhtp://cnr-radio.com/listen.m3u");
GameTextForPlayer(playerid, "Playing 181.FM - POWER 181",2500,1);
}
Change to
pawn Код:
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid, "http://cnr-radio.com/listen.m3u"); // here is the "http" not "hhtp"
GameTextForPlayer(playerid, "Playing 181.FM - POWER 181",2500,1);
}
Re: My radio FS doesnt work -
bustern - 05.09.2013
Aaah yes, thanks you !
Re: My radio FS doesnt work -
xganyx - 05.09.2013
No broblem
Re: My radio FS doesnt work -
iZN - 05.09.2013
Ah, didn't noticed that.
OFF: It's problem not 'broblem'
Re: My radio FS doesnt work -
xganyx - 06.09.2013

i was slepping