Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*******************************
- CargaPesada 2016
- IP:158.69.136.72:8585
- Venha nos visitar!
- *******************************/
- //MS Radio System por MatheusSpohr
- #include <a_samp>
- #include <zcmd>
- #define D_Radios 2016//Cuidar Conflitos
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("MS Radio System");
- print("Sistema de Rádios por:");
- print("MatheusSpohr");
- return 1;
- }
- #else
- #endif
- CMD:radios(playerid)
- {
- new ListaRadios[815];
- format(ListaRadios, sizeof(ListaRadios), "{FFFFFF}01 - Web Ritz Brasil\n02 - All Hits\n03 - Mega som\n04 - Rap 181\n05 - Eletronia\n06 - Radio Atlanta\n07 - Reggaee\n08 - Som sertanejo\n09 - Radio +Sertanejo\n10 - Radio Rock FM\n11 - AC/DC Radio\n12 - Mundo Funk\n13 - Radio Classic Rock\n14 - Radio Dance Wave\n15 - Jovem Pam(Itajai - SC)\n16 - Jovem Pam(Cascavel - PR)\n17 - Radio Hunter\n18 - Radio Interativa FM\n19 - Radio Aqui Sertanejo\n20 - Radio Sertanejo Universitario(SU)\n21 - Desligar");
- ShowPlayerDialog(playerid, D_Radios, DIALOG_STYLE_INPUT, "{FFFF00}#{FFFFFF}Rádios:", ListaRadios, "Selecionar", "Sair");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == D_Radios)
- {
- if(!response)return 0;
- if(response)
- {
- if((strcmp(inputtext, "1", true) == 0) || (strcmp(inputtext, "01", true) == 0) || (strcmp(inputtext, "web ritz brasil", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://stm7.painel.foxsolucoes.net:10480");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Web Ritz Brasil {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "2", true) == 0) || (strcmp(inputtext, "02", true) == 0) || (strcmp(inputtext, "radio all hits", true) == 0) || (strcmp(inputtext, "all hits", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://199.195.192.234:9998");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio All Hist {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "3", true) == 0) || (strcmp(inputtext, "03", true) == 0) || (strcmp(inputtext, "radio mega som", true) == 0) || (strcmp(inputtext, "mega som", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://174.142.196.188:8848");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Mega Som {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "4", true) == 0) || (strcmp(inputtext, "04", true) == 0) || (strcmp(inputtext, "rap", true) == 0) || (strcmp(inputtext, "rap 181", true) == 0) || (strcmp(inputtext, "radio rap 181", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://108.61.73.117:8054");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Rap 181 {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "5", true) == 0) || (strcmp(inputtext, "05", true) == 0) || (strcmp(inputtext, "radio eletronica", true) == 0) || (strcmp(inputtext, "eletronica", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://37.59.254.25:8024");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Eletronica {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "6", true) == 0) || (strcmp(inputtext, "06", true) == 0) || (strcmp(inputtext, "radio atlanta", true) == 0) || (strcmp(inputtext, "atlanta", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://198.50.197.80:9954");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Atlanta {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "7", true) == 0) || (strcmp(inputtext, "07", true) == 0) || (strcmp(inputtext, "radio reggae", true) == 0) || (strcmp(inputtext, "reggae", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://50.7.66.10:9052");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Reggae {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "8", true) == 0) || (strcmp(inputtext, "08", true) == 0) || (strcmp(inputtext, "radio som sertanejo", true) == 0) || (strcmp(inputtext, "som sertanejo", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://64.15.147.221:9026");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Som Sertanejo {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "9", true) == 0) || (strcmp(inputtext, "09", true) == 0) || (strcmp(inputtext, "+sertanejo", true) == 0) || (strcmp(inputtext, "radio +sertanejo", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://listen.radionomy.com/-Sertanejo");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio +Sertanejo {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "10", true) == 0) || (strcmp(inputtext, "radio rock fm", true) == 0) || (strcmp(inputtext, "rock", true) == 0) || (strcmp(inputtext, "rock fm", true) == 0) || (strcmp(inputtext, "radio rock", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://69.4.232.118:80/live");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Rock FM {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "11", true) == 0) || (strcmp(inputtext, "ac/dc", true) == 0) || (strcmp(inputtext, "radio ac/dc", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://67.159.5.57:9436");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio AC/DC {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "12", true) == 0) || (strcmp(inputtext, "radio mundo funk", true) == 0) || (strcmp(inputtext, "mundo funk", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://170.75.145.138:10004");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Mundo Funk {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "13", true) == 0) || (strcmp(inputtext, "radio classic rock", true) == 0) || (strcmp(inputtext, "classic rock", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://Listen.Radionomy.com:80/-1ClassicRock");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Classic Rock {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "14", true) == 0) || (strcmp(inputtext, "radio dance wave", true) == 0) || (strcmp(inputtext, "dance wave", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://206.190.151.156:11070");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Dance Wave {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "15", true) == 0) || (strcmp(inputtext, "sc", true) == 0) || (strcmp(inputtext, "jovem pam(itajai-sc)", true) == 0) || (strcmp(inputtext, "itajai", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://69.46.0.170:9970");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Jovem Pam(Itajai-SC) {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "16", true) == 0) || (strcmp(inputtext, "pr", true) == 0) || (strcmp(inputtext, "jovem pam", true) == 0) || (strcmp(inputtext, "jovem pam(cascavel-pr)", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://69.46.0.170:9986");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Jovem Pam(Cascavel-PR) {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "17", true) == 0) || (strcmp(inputtext, "radio hunter", true) == 0) || (strcmp(inputtext, "hunter", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://listen.shoutcast.com:80/RadioHunter-TheHitzChannel");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Hunter {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "18", true) == 0) || (strcmp(inputtext, "radio interativa fm", true) == 0) || (strcmp(inputtext, "radio interativa", true) == 0) || (strcmp(inputtext, "interativa", true) == 0) || (strcmp(inputtext, "interativa fm", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://206.217.201.45:8100");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Interativa FM {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "19", true) == 0) || (strcmp(inputtext, "radio aqui sertanejo", true) == 0) || (strcmp(inputtext, "aqui sertanejo", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://158.69.25.26:8353/stream");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Aqui Sertanejo {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "20", true) == 0) || (strcmp(inputtext, "radio sertanejo universitario", true) == 0) || (strcmp(inputtext, "su", true) == 0) || (strcmp(inputtext, "sertanejo universitario", true) == 0))
- {
- PlayAudioStreamForPlayer(playerid, "http://167.114.208.30:8080/radiosu.mp3");
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio Sertanejo Universitário(SU) {00FF00}Ligada{FFFFFF}!");
- }
- if((strcmp(inputtext, "21", true) == 0) || (strcmp(inputtext, "desligar", true) == 0))
- {
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid, -1, "{FF00FF}# {FFFFFF}Rádio {FF0000}Desligada{FFFFFF}!");
- }
- }
- return 1;
- }
- return 1;
- }
- //MS Radio System por MatheusSpohr
- /*******************************
- CargaPesada 2016
- IP:158.69.136.72:8585
- Venha nos visitar!
- *******************************/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement