SA-MP Forums Archive
Looking for Radio - 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: Looking for Radio (/showthread.php?tid=499501)



Looking for Radio - coolmark1995 - 08.03.2014

Hello I can't seem to find one that works im looking for a radio filterscript for the newest sa-mp wgere you just press r to access the station menu I have looked around your help would be greatly appreciated


Re: Looking for Radio - XK - 08.03.2014

Just use
pawn Код:
PlayAudioStreamForPlayer(playerid, link);
You can get the link of the song and paste it there,i mean at PlayAudioStream...
and when the player presses on R,it shows him a dialog with song names,when he chooses the song it plays a song from the link for the song
and make it when he presses on R again it stops the music if you want by using:
pawn Код:
StopAudioStreamForPlayer(playerid);



Re: Looking for Radio - coolmark1995 - 08.03.2014

Quote:
Originally Posted by XK
Посмотреть сообщение
Just use
pawn Код:
PlayAudioStreamForPlayer(playerid, link);
You can get the link of the song and paste it there,i mean at PlayAudioStream...
and when the player presses on R,it shows him a dialog with song names,when he chooses the song it plays a song from the link for the song
and make it when he presses on R again it stops the music if you want by using:
pawn Код:
StopAudioStreamForPlayer(playerid);
I know but I would like something like I seen in a server where you just press r in a vehicle to turn it on and a diolog comes up with a few radio stations


Re: Looking for Radio - XK - 08.03.2014

just get the links they use for the radio stations,and give me them and i will make it for you,it's not hard


Re: Looking for Radio - coolmark1995 - 08.03.2014

okay thanks


Re: Looking for Radio - coolmark1995 - 09.03.2014

Quote:
Originally Posted by XK
Посмотреть сообщение
just get the links they use for the radio stations,and give me them and i will make it for you,it's not hard
Country108 = http://tuner.country108.com/listen.pls
dubstep.fm = http://dubstep.fm/listen.pls
B98 Today's Best Country = http://uplink.duplexfx.com:8018/listen.pls
Nashville FM = http://server-14.stream-server.nl:8300/listen.pls

there is the list of radio stations hey can you make it /radio instead of pressing r