Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Criado Por: Panico
- Radios: Panico
- Musicas: humildadeforever
- Nao Retire os Creditos
- */
- #include <a_samp>
- #include <zcmd>
- /* DIALOGS */
- #define DIALOG_MP3 4320
- #define DIALOG_RADIOS 4321
- /* FORWARD */
- forward SendMSG();
- new RandomMSG[][] =
- {
- "Esta Afim de Ouvir Uma Musiquinha?Use: /radios ou /musicas :D",
- "Quer as Musicas que estao fazendo Sucesso Pelo Mundo Em quando Joga GTA? /radios",
- "Ouca Varias Musica em quanto joga? /musicas"
- };
- public OnFilterScriptInit()
- {
- SetTimer("SendMSG", 300000, true);
- return 1;
- }
- public SendMSG()
- {
- new randMSG = random(sizeof(RandomMSG));
- SendClientMessageToAll(0x00FE19FF, RandomMSG[randMSG]);
- }
- /* COMANDOS */
- CMD:musicas(playerid, params[])
- {
- new string[360];
- strcat(string,"Dança Kuduro - Latino e Daddy Kall\nCountdown - Beyonce\nLutar pelo que é meu - Charlie Brown JR\nInternational Love - Chris Brown ft. Pitbull\nCall Me Maybe - Carly Rae Jepsen\n");
- strcat(string,"OMG (Remix) - Usher feat Will.i.am\nI'm into you - Jennifer Lopez feat Lil' Wayne\nMas que nada - Black Eyed Peas\nRemix Para Nossa Alegria\nTurn Up The Music - Chris Brown feat Rihanna");
- ShowPlayerDialog(playerid, DIALOG_MP3, DIALOG_STYLE_LIST,"Lista de Musicas By: humildadeforever",string,"Ouvir","Sair");
- return 1;
- }
- CMD:pararmusica(playerid)
- {
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid, 0x00EEFFFF, "Deligado!Para ouvir novamente use /radios ou /musicas");
- return 1;
- }
- CMD:radios(playerid)
- {
- new string[500];
- strcat(string, "{FF0000}Radio Hunter\n{00EEFF}Radio Super Mix\n{04FF00}Radio PureDJ\n{0400FF}Radio Cidade Web\n{FF00EA}Radio Fusion\n{FBFF00}Radio Depressive Metal\n");
- strcat(string, "{FF0000}Radio Conexao Otaku\n{3E02FC}Radio Som Sertanejo\n{EA1417}Radio PoP Music\n{00FF67}Radio MegaSom\n{FFF200}Radio Axe Bahia\n{E31CA3}Radio W Funk\n");
- strcat(string, "{04FF04}Radio Rede Pagode\n{FFFFFF}Radio Classic Rock\n{DB931E}Radio Dence\n{9E35C3}Radio Cowboy [Country - Sertaneja]\n{2AF306}Radio Delta [Ecletica-Forro]\n{B4B4B4}Desligar");
- ShowPlayerDialog(playerid, DIALOG_RADIOS, DIALOG_STYLE_LIST, "Lista de Radios By: Panico", string, "OK", "Cancelar");
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- SendClientMessage(playerid, 0x3E02FCFF, "Quer Ouvir uma Musica?Use: /radios ou /musicas");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_MP3)
- {
- if(!response) return SendClientMessage(playerid,-1,"Cancelado com sucesso!");
- if(listitem == 0)
- {
- PlayAudioStreamForPlayer(playerid, "http://dl.dropbox.com/u/70971912/Musicas/Daddy%20Kall%20ft.%20Latino%20-%20Dan%C3%A7a%20Kuduro.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: Dança Kuduro! Use: /pararmusica para desligar.");
- }
- else if(listitem == 1)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/Beyonc%C3%A9%20-%20Countdown.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: Countdown - Beyonce. Use /pararmusica para desligar");
- }
- else if(listitem == 2)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/Charlie%20Brown%20Jr%20-%20Lutar%20pelo%20que%20%C3%A9%20meu.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: Lutar pelo que é meu - Charlie Brown JR.Use /pararmusica para desligar");
- }
- else if(listitem == 3)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/Chris_Brown_ft._Pitbull_-_International_Love.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: International Love - Chris Brown feat Pitbull. Use: /pararmusica para desligar.");
- }
- else if(listitem == 4)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/call%20me%20maybe.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: Call Me Maybe - Carly Rae Jepsen. Use /pararmusica para desligar");
- }
- else if(listitem == 5)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/02-usher_feat._will.i.am--omg_%28almighty_remix%29-wus%202010%20%280daymusic.org%29.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: OMG (Remix) - Usher feat Will.i.am. Use: /pararmusica para desligar");
- }
- else if(listitem == 6)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/03%20-%20I%27m%20Into%20You%20%28Feat.%20Lil%27%20Wayne%29.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: I'm into you - Jennifer Lopez feat Lil' Wayne. Use /pararmusica para desligar");
- }
- else if(listitem == 7)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/Black%20Eyed%20Pears%20feat.%20Sergio%20Mendez%20-%20Mas%20Que%20Nada.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: Mas que nada - Black Eyed Peas. Use /pararmusica para desligar");
- }
- else if(listitem == 8)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/funk%20remix%20para%20nossa%20alegria%20-%20wa%20pictures.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: Remix Para Nossa Alegria. Use /pararmusica para desligar");
- }
- else if(listitem == 9)
- {
- PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/70971912/Musicas/Chris%20Brown%20feat.%20Rihanna%20-%20Turn%20Up%20The%20Music%20%28Remix%29.mp3");
- SendClientMessage(playerid,-1,"Ouvindo: Turn Up The Music - Chris Brown feat Rihanna. Use /pararmusica para desligar");
- }
- return 1;
- }
- if(dialogid == DIALOG_RADIOS){
- if(response){
- if(listitem == 0)
- {
- PlayAudioStreamForPlayer(playerid,"http://stream.radiohunter.com.br:7070/listen.pls");//Radio Hunter
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Hunter {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 1)
- {
- PlayAudioStreamForPlayer(playerid,"http://radiosupermix.com.br:7585");// SUPER MIX
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Super Mix {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 2)
- {
- PlayAudioStreamForPlayer(playerid,"http://66.90.101.54:8120");//Radio PureDJ
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio PureDJ {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 3)
- {
- PlayAudioStreamForPlayer(playerid,"http://74.222.1.205:13434");//Cidade Web
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Cidade Web {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 4)
- {
- PlayAudioStreamForPlayer(playerid,"http://65.60.34.34:8000");//Radio Fusion
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Fusion {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 5)
- {
- PlayAudioStreamForPlayer(playerid,"http://184.154.10.83:8390");//Depressive Metal
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Depressive Metal {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 6)
- {
- PlayAudioStreamForPlayer(playerid,"http://173.193.223.178:8734");//Conexao Otaku
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Conexao Otaku {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 7)
- {
- PlayAudioStreamForPlayer(playerid,"http://64.15.147.221:12016");//Radio Som Sertanejo
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Som Sertanejo {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 8)
- {
- PlayAudioStreamForPlayer(playerid,"http://streaming17.brlogic.com:8078/live");//Radio PoP Music
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio PoP Music {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 9)
- {
- PlayAudioStreamForPlayer(playerid,"http://174.142.196.188:8048");//Radio MegaSom
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio MegaSom {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 10)
- {
- PlayAudioStreamForPlayer(playerid,"http://som9.inorteweb.com:8632");//Radio Axe Bahia
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Axe Bahia {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 11)
- {
- PlayAudioStreamForPlayer(playerid,"http://173.192.81.140:8071/stream");//Radio W Funk
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio W Funk {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 12)
- {
- PlayAudioStreamForPlayer(playerid,"http://50.30.35.23:8172");//Radio Rede Pagode
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Rede Pagode {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 13)
- {
- PlayAudioStreamForPlayer(playerid,"http://streaming17.brlogic.com:8186/live");//Radio Classic Rock
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Classic Rock {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 14)
- {
- PlayAudioStreamForPlayer(playerid,"http://173.193.201.100:8068");//Radio Dence
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Dence {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 15)
- {
- PlayAudioStreamForPlayer(playerid,"http://108.163.178.106:8075");//Radio Sputnik [Country - Sertaneja]
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Cowboy {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 16)
- {
- PlayAudioStreamForPlayer(playerid,"http://74.222.1.197:12938");//Radio Delta [Ecletica-Forro]
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Delta {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- if(listitem == 17)
- {
- StopAudioStreamForPlayer(playerid);//Desligar
- }
- }
- else{
- }
- }
- return 1;
- }
- /*
- Criado Por: Panico
- Radios: Panico
- Musicas: humildadeforever
- */
Advertisement
Add Comment
Please, Sign In to add comment