Radio wont play - 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: Radio wont play (
/showthread.php?tid=565687)
Radio wont play -
abyss. - 28.02.2015
Код:
case 1:
{
//RadioRO[playerid] = Audio_PlayStreamed(playerid, "http://www.radiozu.ro/live.m3u",false,false,false);
PlayAudioStreamForPlayer(playerid, "http://www.radiozu.ro/live.m3u");
format(string, sizeof(string), "* %s asculta Radio Zu in %s.", sendername, GetVehicleModelName(m));
TextDrawShowForPlayer(playerid, radiozuu);
}
This is the code for 1 radio post. I got no errors, in-game that textdraw is added but i guess that PlayAudioStreamForPlayer isnt loaded or something :-/. Do i need anoter .inc or plugin? I thought that the function exists in a_samp but it isnt. And only at radio posts i have PlayAudioStreamForPlayer.
Re: Radio wont play -
CalvinC - 28.02.2015
I haven't seen a M3U file extension before, try using MP3.
Re: Radio wont play -
abyss. - 28.02.2015
Same problem.. I also have ath.cx:8054 and .pls as extentions i guess.
Re: Radio wont play -
kyriakos587 - 28.02.2015
you must use this website:
http://www.shoutcast.com/
after search your favorite radio,
after press:
and then press WINAMP
after go to Downloads settings and copy the link from the download:
(
http://yp.shoutcast.com/sbin/tunein-....pls?id=165934)
and then open the pwn there you have the audio and paste the link.
If you want check my Radio system below this message.
Re: Radio wont play -
abyss. - 01.03.2015
Still not playing. I think i need another inc or plugin :-/.