My radio FS doesnt work
#1

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);
            } 
Reply
#2

Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play that playlist.
Reply
#3

I tried with .pls link and again doesnt work :@
Reply
#4

That playlist should contain mp3 or ogg/vorbis. There might be same dialog ID which is conflicting.
Reply
#5

How to get radio links in http://www.shoutcast.com/ ?
Reply
#6

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);
            }
Reply
#7

Aaah yes, thanks you !
Reply
#8

No broblem
Reply
#9

Ah, didn't noticed that.

OFF: It's problem not 'broblem'
Reply
#10

i was slepping
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)