Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- VISITE NOSSO SITE: http://www.sampknd.com/
- VISITE NOSSO FACEBOOK: http://www.facebook.com/SampKnd
- SAMP KND MELHOR BLOG DE SAMP DO BRASIL
- */
- #include <a_samp>
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp("/ajudaradio", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, 0xFF001DFF, " ~~~~~~~~~~ [ Rádio - Script ] ~~~~~~~~~~ ");
- SendClientMessage(playerid, 0x2CFF00FF, "• /Rádio - Para ligar á Rádio • ");
- SendClientMessage(playerid, 0xFF001DFF, " ~~~~~~~~~~ [ Rádio - Script ] ~~~~~~~~~~ ");
- return 1;
- }
- if (strcmp("/radios", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid, 7954, DIALOG_STYLE_LIST, "Sistema de Rádios [By: ThuuGLif3]","{FFFF00}Rádio Jovem Pam\n{00FF00}Rádio Funk Brasil\n{00FA9A}Rádio Atlantida\n{FFFFFF}Rádio Total Dance\n{A2B5CD}Rádio Eletro Hits\n{FF69B4}Rádio Mandela Digital\n{FF4500}Rádio Acid Flashback\n{9370DB}Rádio Conexão Proibida\n{6495ED}Rádio Rock Music\n{00FF00}Rádio Sertanejo\n{FF1493}Rádio Urban Hip-Hop\n{FFFF00}Rádio American Country\n{7D26CD}Rádio Pagode Fm\n{EEE9E9}Desligar Rádio","Sincronizar","Fechar");
- return true;
- }
- return false;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 7954)
- {
- if(response)
- {
- if(listitem == 0)
- {
- PlayAudioStreamForPlayer(playerid, "http://65.60.25.242:8004/");
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Jovem Pan" );
- return true;
- }
- if(listitem == 1)
- {
- PlayAudioStreamForPlayer(playerid, "http://64.56.64.84:9908");
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Funk Brasil" );
- return true;
- }
- if(listitem == 2)
- {
- PlayAudioStreamForPlayer(playerid, "http://189.76.158.143:50002/");
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Atlantida" );
- return true;
- }
- if(listitem == 3)
- {
- PlayAudioStreamForPlayer(playerid, "http://74.222.2.146:9358/");
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Total Dance" );
- return true;
- }
- if(listitem == 4)
- {
- PlayAudioStreamForPlayer(playerid, "http://64.15.147.220:8042/");//sm
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Eletro Hits" );
- return true;
- }
- if(listitem == 5)
- {
- PlayAudioStreamForPlayer(playerid, "http://184.154.37.136:12842");//Mandela
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Mandela Digital" );
- return true;
- }
- if(listitem == 6)
- {
- PlayAudioStreamForPlayer(playerid, "http://174.122.26.34:8180");//Acids
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}AC/DC Radio" );
- return true;
- }
- if(listitem == 7)
- {
- PlayAudioStreamForPlayer(playerid, "http://67.205.74.73:9354");//conexão
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Conexão Proibida" );
- return true;
- }
- if(listitem == 8)
- {
- PlayAudioStreamForPlayer(playerid, "http://174.36.51.212:8524");//rock
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Rock 107" );
- return true;
- }
- if(listitem == 9)
- {
- PlayAudioStreamForPlayer(playerid, "http://174.127.101.180:8043");//sertanejo
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Sertanejo" );
- return true;
- }
- if(listitem == 10)
- {
- PlayAudioStreamForPlayer(playerid, "http://108.61.73.119:8024");//urban hip
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Urban Hip-Hop" );
- return true;
- }
- if(listitem == 11)
- {
- PlayAudioStreamForPlayer(playerid, "http://108.61.73.120:8130");//country
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio American Country" );
- return true;
- }
- if(listitem == 12)
- {
- PlayAudioStreamForPlayer(playerid, "http://199.217.115.31:9616");//pagode
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Se não estiver ouvindo, verifique se o volume da rádio nas opções do jogo, tem de está correto!" );
- SendClientMessage( playerid, 0x00FF00FF, "[ > ] Rádio selecionada: {FFFF00}Rádio Pagode FM" );
- return true;
- }
- if(listitem == 13)
- {
- SendClientMessage(playerid, 0xFF7F50, "{FFFF00}[ > ] Você Desligou a Rádio Com Sucesso!");
- StopAudioStreamForPlayer(playerid);
- return true;
- }
- return true;
- }
- return true;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement