Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- SISTEMA CELULAR
- FEITO POR: Buldog_Scripter
- */
- // INCLUDES
- #include <a_samp>
- // FS
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- // DIALOG
- #define celular 100
- #define RADIOS 5324
- #define URL 5325
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" SISTEMA CELULAR CARREGADO :)");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- #endif
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, -1,"[!] Sistema de celular , by Buldog_Scripter");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == celular)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SendClientMessage(playerid,VERMELHO,"INSTALANDO APLICATIVO.....");
- SendClientMessage(playerid,VERDE,"APLICATIVO INSTALADO COM SUCESSO");
- SendClientMessage(playerid,AMARELO,"PARA USAR DIGITE /ds [mensagem]" );
- }
- else if(listitem == 1)
- {
- SendClientMessage(playerid,VERMELHO,"INSTALANDO APLICATIVO.....");
- SendClientMessage(playerid,VERDE,"APLICATIVO INSTALADO COM SUCESSO");
- SendClientMessage(playerid,AMARELO,"PARA USAR DIGITE /musicas" );
- }
- else if(listitem == 2)
- {
- SendClientMessage(playerid,VERMELHO,"INSTALANDO APLICATIVO.....");
- SendClientMessage(playerid,VERDE,"APLICATIVO INSTALADO COM SUCESSO");
- SendClientMessage(playerid,AMARELO,"PARA USAR DIGITE /sms [ID] [mensagem]" );
- }
- else if(listitem == 3)
- {
- SendClientMessage(playerid,VERMELHO,"INSTALANDO APLICATIVO.....");
- SendClientMessage(playerid,VERDE,"APLICATIVO INSTALADO COM SUCESSO");
- SendClientMessage(playerid,AMARELO,"PARA USAR DIGITE /ligar [ID]" );
- }
- }
- }
- if(dialogid == RADIOS){
- if(response){
- switch(listitem){
- case 0:{
- PlayAudioStreamForPlayer(playerid,"http://listen.shoutcast.com:80/RadioHunter-TheHitzChannel");
- SendClientMessage(playerid,Amarelo,"[INFO: {00F5FF} Hunter selecionada!");
- SetPlayerAttachedObject(playerid,2226,5,0.394999,0.045000,0.027000,-25.299999,-101.699974);
- }
- case 1:{
- PlayAudioStreamForPlayer(playerid,"http://listen.shoutcast.com/jpfunkmusic");
- SetPlayerAttachedObject(playerid,2226,5,0.394999,0.045000,0.027000,-25.299999,-101.699974);
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF} Funk selecionada!");
- }
- case 2:{
- PlayAudioStreamForPlayer(playerid,"http://170.75.144.250:15672");
- SetPlayerAttachedObject(playerid,2226,5,0.394999,0.045000,0.027000,-25.299999,-101.699974);
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF} Sertanejo selecionada!");
- }
- case 3:{
- PlayAudioStreamForPlayer(playerid,"http://108.61.30.179:4010");
- SetPlayerAttachedObject(playerid,2226,5,0.394999,0.045000,0.027000,-25.299999,-101.699974);
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF} Hip Hop selecionada!");
- }
- case 4:{
- PlayAudioStreamForPlayer(playerid,"http://176.31.246.143:8300");
- SetPlayerAttachedObject(playerid,2226,5,0.394999,0.045000,0.027000,-25.299999,-101.699974);
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF} Reggae selecionada!");
- }
- case 5:{
- ShowPlayerDialog(playerid, URL, DIALOG_STYLE_INPUT, "Insira a URL", "Insira sua URL de um arquivo .MP3\nExemplo: {FF0000}http://sv12.onlinevideoconverter.com/download?file=j9a0h7a0d3e4g6e4", "Tocar", "Sair");
- }
- case 6:{
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF}Musica Desligada!{00F5FF}");
- }
- }
- }
- }
- if(dialogid == URL)
- {
- if(response){
- SendClientMessage(playerid, Amarelo, " via URL ligada com sucesso!");
- PlayAudioStreamForPlayer(playerid, inputtext);
- }
- return true;
- }
- return 1;
- }
- CMD:celular(playerid)
- {
- ShowPlayerDialog(playerid,celular,DIALOG_STYLE_LIST, "APLICATIVOS", " Discord \n Play Musicas \n Mensagens \n Telefone", "Selecionar", "Sair");
- return 1;
- }
- CMD:musicas(playerid)
- {
- SetPlayerAttachedObject( playerid, 0, 2226, 6, 0.398310, 0.000000, 0.071235, 0.000000, 259.946838, 0.000000, 1.000000, 1.000000, 1.000000 ); // LOW_HI_FI_3 - Radio de m??o
- ShowPlayerDialog(playerid,RADIOS,DIALOG_STYLE_LIST,"GOOGLE PLAY MUSICA","{00F5FF}Hunter\n{009ACD}Funk\n{FFD700} Sertanejo\n{CD00CD} Hip Hop\n{FF0000} Reggae\n{00688B}Youtube Mp3\n{EEE0E5}Desligar MP3","Selecionar","Cancelar");
- return 1;
- }
- CMD:ds(playerid, params[])
- {
- new Str[144], Name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Name, sizeof Name);
- format(Str, sizeof Str, "{BDBDBD}[ DISCORD ] {FFFFFF}%s: {BDBDBD}%s", Name, params);
- SendClientMessageToAll(CINZA, Str);
- return true;
- }
Add Comment
Please, Sign In to add comment