[FilterScript] ~Zeros~Radio System Simple
#1

~Zeros~Radio System Simple

Hey guys i present to you the simple radio script made by me useind CMD:

What dose it have?

well its not an advance system but it is dialog with 7 stations (can easly be changed)



This is the current music it has on it but i think one or 2 of them have stoped streaming witch can easy be fixed
so here is the current stations!

Code:
Dance. R&B. Rock. Electro.Country.Top40.DirtyMix
So here is the commands for it

Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
CMD:radio(playerid,params[]).
{
ShowPlayerDialog(playerid,90,DIALOG_STYLE_LIST,"EuG Music List Created by zero","1. Dance\r\n2. R&B\r\n3. Rock\r\n4. Electro\r\n5.Country\r\n6.Top40\r\n7.DirtyMix","Start", "Quit");
}
CMD:stopradio(playerid,params[])
{
StopAudioStreamForPlayer(playerid);//This is the function we need to stop the audio from streaming the music.
return 1;
}
return 0;
}
Define as many cases as you need but were \r\n7.DirtyMix" add another 1 like example (\r\n8.pop") <<

Code:
case 2://Case 2 is the third line we put in ShowPlayerDialog(\r\n3.)
Then to play that radio you have picked you can change the url

Code:
PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=21585/");//This function will play our desired radio. So we have to put the url between its brackets.
Reply


Messages In This Thread
~Zeros~Radio System Simple - by [EuG]ZeRoGoD - 12.03.2012, 04:53
Re: ~Zeros~Radio System Simple - by rangerxxll - 12.03.2012, 04:58
Re: ~Zeros~Radio System Simple - by [EuG]ZeRoGoD - 12.03.2012, 04:59
Re: ~Zeros~Radio System Simple - by new121 - 12.03.2012, 05:05
Re: ~Zeros~Radio System Simple - by [EuG]ZeRoGoD - 12.03.2012, 05:13
Re: ~Zeros~Radio System Simple - by Hansolue - 12.03.2012, 09:16
Re: ~Zeros~Radio System Simple - by [EuG]ZeRoGoD - 12.03.2012, 09:26
Re: ~Zeros~Radio System Simple - by new121 - 12.03.2012, 18:40
Re: ~Zeros~Radio System Simple - by [EuG]ZeRoGoD - 13.03.2012, 00:21
Re: ~Zeros~Radio System Simple - by [EuG]ZeRoGoD - 05.04.2012, 08:16

Forum Jump:


Users browsing this thread: 1 Guest(s)