Boombox in GM help
#3

Thanks, I am a begginer scripter though. So I am a bit confused what to do. I use live streams and ranges.
Here is the other part of the script:
pawn Код:
if(dialogid == 1 && response)
        {
            switch(listitem)//playradio
            {
                case 0:
                { // Top Teen Radio
                    new Float:X, Float:Y, Float:Z, Float:Distance = 500.0;
                    GetPlayerPos(playerid, X, Y, Z);
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=104760", X, Y, Z, Distance, 500);//Teen Top Music
                }
                case 1:
                { // Top Radio
                    new Float:X, Float:Y, Float:Z, Float:Distance = 500.0;
                    GetPlayerPos(playerid, X, Y, Z);
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1078816", X, Y, Z, Distance, 500);//Top Music Songs
                }
                case 2:
                { // Classic Hits Radio
                    new Float:X, Float:Y, Float:Z, Float:Distance = 10.0;
                    GetPlayerPos(playerid, X, Y, Z);
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=9472196", X, Y, Z, Distance, 500);//Hit Music (Old and New)
                }
                case 3:
                { // Rock Radio
                    new Float:X, Float:Y, Float:Z, Float:Distance = 10.0;
                    GetPlayerPos(playerid, X, Y, Z);
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1331010", X, Y, Z, Distance, 500);//Rock
                }
                case 4:
                { // Top Teen Radio (ALL)
                    new Float:X, Float:Y, Float:Z, Float:Distance = 100.0;
                    GetPlayerPos(playerid, X, Y, Z);
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=104760", X, Y, Z, Distance, 100);//Teen Top Music (ALL)
                }
                case 5:
                { // Top Radio (ALL)
                    new Float:X, Float:Y, Float:Z, Float:Distance = 10.0;
                    GetPlayerPos(playerid, X, Y, Z);
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1078816", X, Y, Z, Distance, 500);//Top Music Songs (ALL)
                }
                case 6:
                { // Christmas Songs
                    new Float:X, Float:Y, Float:Z, Float:Distance = 100.0;
                    GetPlayerPos(playerid, X, Y, Z);
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    PlayAudioStreamForPlayer(i, "http://listen.sky.fm/public3/christmas.pls", X, Y, Z, Distance, 100);//Christmas Music
                }
                case 7:
                { // Christmas Songs (ALL)
                    new Float:X, Float:Y, Float:Z, Float:Distance = 500.0;
                    GetPlayerPos(playerid, X, Y, Z);
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    PlayAudioStreamForPlayer(i, "http://listen.sky.fm/public3/christmas.pls", X, Y, Z, Distance, 500);//Christmas Music (ALL)
                }
            }
        }
Reply


Messages In This Thread
Boombox in GM help - by jakejohnsonusa - 18.11.2012, 15:06
Re: Boombox in GM help - by ikkentim - 18.11.2012, 15:16
Re: Boombox in GM help - by jakejohnsonusa - 18.11.2012, 15:47
Re: Boombox in GM help - by jakejohnsonusa - 18.11.2012, 16:06
Re: Boombox in GM help - by RACGaming - 18.11.2012, 16:13
Re: Boombox in GM help - by jakejohnsonusa - 18.11.2012, 16:24
Re: Boombox in GM help - by B-Matt - 18.11.2012, 16:46
Re: Boombox in GM help - by jakejohnsonusa - 18.11.2012, 17:00
Re: Boombox in GM help - by jakejohnsonusa - 18.11.2012, 17:05
Re: Boombox in GM help - by B-Matt - 19.11.2012, 06:18

Forum Jump:


Users browsing this thread: 1 Guest(s)