Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Leitor de MP3 v1.0 criado por zp42O //
- // Scripter: zp42O //
- // Ultima Modificação: 26/12/12 //
- #include <a_samp>
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- #define COLOR_ORANGE 0xFF9900AA
- #pragma tabsize 0
- #define DIALOG_MP3 1
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Leitor de MP3 Carregado com Sucesso ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Leitor de MP3 desactivado ");
- print("----------------------------------\n");
- }
- #endif
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- new string[100], pname[24];
- GetPlayerName(playerid, pname, 24);
- if(strcmp("/mp3", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid, DIALOG_MP3, DIALOG_STYLE_LIST, "Leitor de MP3 V1.0", "SHM - Don't you worry Child\nAvicii - Levels (Original Mix)\nDavid Guetta - She Wolf\nSHM - Save The World Tonight\nM-3ox ft Heidrun - Beating of my heart\nSkrillex - First of the year (Equinox)\nAfrojack ft Shermanology - Can't Stop Me now\nSean Paul - She Doesn't Mind\nSebastian Ingrosso - Calling", "Tocar", "Cancelar");
- return 1;
- }
- if(strcmp("/creditos", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, COLOR_ORANGE, "Créditos:");
- SendClientMessage(playerid, COLOR_ORANGE, "Scripter: zp42O");
- SendClientMessage(playerid, COLOR_ORANGE, "Uploader: Bee Mp3");
- SendClientMessage(playerid, COLOR_ORANGE, string);
- return 1;
- }
- return 0;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_MP3)
- {
- switch(listitem)
- {
- case 0: //SHM - Dont you worry Child
- {
- PlayAudioStreamForPlayer(playerid, "http://houseanthems.com/wp-content/uploads/2012/08/Swedish-House-Mafia-feat.-John-Martin-Dont-You-Worry-Child-Radio-Edit-.mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: Don't you worry child ~<~",5000,3);
- }
- case 1: //Avicii - Levels (Original Mix)
- {
- PlayAudioStreamForPlayer(playerid, "http://assets.ngin.com/attachments/document/0022/0584/Avicii_-_Levels__Original_Mix_.mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: Levels (Original Mix) ~<~",5000,3);
- }
- case 2: //David Guetta - She Wolf (Extended Remix)
- {
- PlayAudioStreamForPlayer(playerid, "http://everythinglooksbrighter.files.wordpress.com/2012/08/david-guetta-feat-sia-she-wolf-falling-to-pieces-extended.mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: She Wolf (Extended Remix) ~<~",5000,3);
- }
- case 3: //SHM - Save The World Tonight (Original Mix)
- {
- PlayAudioStreamForPlayer(playerid, "http://berta6.simsim.ge:8080/46/mp3/Swedish_House_Mafia-Save_The_World/01-swedish_house_mafia_-_save_the_world_(zedd_remix)-ume.mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: Save The World Tonight (Original Mix) ~<~",5000,3);
- }
- case 4: //M-3ox ft Heidrun - Beating of my heart
- {
- PlayAudioStreamForPlayer(playerid, "http://www.deejaycee.com/wp-content/uploads/2012/03/M-3ox-Ft.-Heidrun-Beating-Of-My-Heart-Matisse-Sadko-Remix.mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: Beating of my heart ~<~",5000,3);
- }
- case 5: //Skrillex - First of the year (Equinox)
- {
- PlayAudioStreamForPlayer(playerid, "http://dancelist.net/_uploadmusic/pmusic2012/84_1329607758_Skrillex-First_Of_The_Year_(Equinox)_(Original_mix).mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: First of the year (Equinox) ~<~",5000,3);
- }
- case 6: //Afrojack ft Shermanology - Can't Stop Me now
- {
- PlayAudioStreamForPlayer(playerid, "http://m1.my.olam.uz/download/a/we/a6/qa/6c/wea6qa6c/name/Afrojack%20-%20Can't%20Stop%20Me%20Feat.%20Shermanology%20(U.S.%20Radio%20Edit)(music.olam.uz).mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: Can't Stop Me now ~<~",5000,3);
- }
- case 7: //Sean Paul - She Doesn't Mind
- {
- PlayAudioStreamForPlayer(playerid, "http://promodj.com/download/3759720/Sean Paul - She Doesn\'t Mind (DJ ZoFF & Bacardi Night Mash up) (promodj.com).mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: She Doesn't Mind ~<~",5000,3);
- }
- case 8: //Sebastian Ingrosso - Calling
- {
- PlayAudioStreamForPlayer(playerid, "http://promodj.com/download/2963439/Alesso_feat_Sebastian_Ingrosso_Calling_RENT_Bootleg.mp3");
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ A tocar: Calling ~<~",5000,3);
- }
- case 9: //Desligar o Leitor
- {
- StopAudioStreamForPlayer(playerid); //Desligar o Leitor
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Desligas-te o Leitor ~<~",5000,3);
- }
- }
- }
- return 1;
- }
- //Não remover os créditos//
- //Edição permitida, apenas deixar os créditos//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement