SHARE
TWEET

[FS] Cone Music

GhostOwneD157 Feb 5th, 2012 218 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.                                 Cone Musics v1.0
  3.                            
  4.                     Script em Homenagem a Cone Crew Diretoria
  5.                    
  6.                                 by Pedro Miranda
  7. */
  8. #include <a_samp>
  9.  
  10. #define FILTERSCRIPT
  11. #define DIALOGID 2380
  12. #define COR_CONE 0xFFA500FF
  13.  
  14. public OnFilterScriptInit()
  15. {
  16.     print("|== Cone Musics Iniciado ==|");
  17.     print("|== Salve Cone Crew !!!! ==|");
  18.     return 1;
  19. }
  20.  
  21. public OnFilterScriptExit()
  22. {
  23.     print("|== Cone Musics Finalizado ==|");
  24.     print("|== Salve Cone Crew !!!!!! ==|");
  25.     return 1;
  26. }
  27.  
  28. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  29. {
  30.     if(dialogid == DIALOGID)
  31.     {
  32.         if(response)
  33.         {
  34.             if(listitem == 0) // Escute Mudo
  35.             {
  36.                 PlayAudioStreamForPlayer(playerid, "http://dc95.4shared.com/img/140964426/bca5e6fd/dlink__2Fdownload_2FhH9yU3V5_3Ftsid_3D20120204-045040-8c3bcb2c/preview.mp3");
  37.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - Escute Mudo!");
  38.                 return 1;
  39.             }
  40.             if(listitem == 1) // O Mundo da Voltas
  41.             {
  42.                 PlayAudioStreamForPlayer(playerid, "http://dc408.4shared.com/img/694106449/b871bfa7/dlink__2Fdownload_2F4JVbOF6V_3Ftsid_3D20120204-045759-317c8eb7/preview.mp3");
  43.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - O Mundo Dá Voltas");
  44.                 return 1;
  45.             }
  46.             if(listitem == 2) // Reliquia
  47.             {
  48.                 PlayAudioStreamForPlayer(playerid, "http://dc363.4shared.com/img/593766627/af24f5be/dlink__2Fdownload_2FH2Hiy4B9_3Ftsid_3D20120204-050151-ae68656f/preview.mp3");
  49.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - Relíquia");
  50.                 return 1;
  51.             }
  52.             if(listitem == 3) // Recreio dos Traficantes
  53.             {
  54.                 PlayAudioStreamForPlayer(playerid, "http://dc354.4shared.com/img/81851256/2ff77d12/dlink__2Fdownload_2FkcN8bkrF_3Ftsid_3D20120204-050403-8066d134/preview.mp3");
  55.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - Recreio dos Traficantes");
  56.                 return 1;
  57.             }
  58.             if(listitem == 4) // 15 Segundos
  59.             {
  60.                 PlayAudioStreamForPlayer(playerid, "http://dc389.4shared.com/img/550162224/e587740/dlink__2Fdownload_2FWzKcxc0D_3Ftsid_3D20120204-050509-48625f1d/preview.mp3");
  61.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - 15 Segundos");
  62.                 return 1;
  63.             }
  64.             if(listitem == 5) // Chama os Mulekes
  65.             {
  66.                 PlayAudioStreamForPlayer(playerid, "http://dc128.4shared.com/img/464633550/43d9dc05/dlink__2Fdownload_2FtRPT3xa3_3Ftsid_3D20120204-050615-f8109253/preview.mp3");
  67.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - Chama os Mulekes");
  68.                 return 1;
  69.             }
  70.             if(listitem == 6) // La Pa Lapa
  71.             {
  72.                 PlayAudioStreamForPlayer(playerid, "http://dc239.4shared.com/img/243620681/587beaa0/dlink__2Fdownload_2FPxuj4dQ6_3Ftsid_3D20120204-050732-bd92b430/preview.mp3");
  73.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - La Pa Lapa");
  74.                 return 1;
  75.             }
  76.             if(listitem == 7) // Rainha da Pista
  77.             {
  78.                 PlayAudioStreamForPlayer(playerid, "http://dc455.4shared.com/img/572314022/eb863288/dlink__2Fdownload_2FUmaPuHOm_3Ftsid_3D20120204-050829-35ae2e2a/preview.mp3");
  79.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - Rainha da Pista");
  80.                 return 1;
  81.             }
  82.             if(listitem == 8) // Sem a Planta
  83.             {
  84.                 PlayAudioStreamForPlayer(playerid, "http://dc391.4shared.com/img/623760076/e0553290/dlink__2Fdownload_2FCrqVxbPm_3Ftsid_3D20120204-050926-cb6af62e/preview.mp3");
  85.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - Sem a Planta");
  86.                 return 1;
  87.             }
  88.             if(listitem == 9) // EuVoluindo
  89.             {
  90.                 PlayAudioStreamForPlayer(playerid, "http://dc197.4shared.com/img/550127164/aa2c5aef/dlink__2Fdownload_2FRaAU69Uw_3Ftsid_3D20120204-051112-11e57e36/preview.mp3");
  91.                 SendClientMessage(playerid, COR_CONE, "ConeCrew Diretoria - EuVoluindo");
  92.                 return 1;
  93.             }
  94.         }
  95.     }
  96.     return 1;
  97. }
  98.  
  99. public OnPlayerCommandText(playerid, cmdtext[])
  100. {
  101.     if(strcmp(cmdtext, "/cone", true) == 0)
  102.     {
  103.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Cone Crew Diretoria! Escolha a Música", "Escute Mudo\nO Mundo da Voltas\nReliquia\nRecreio dos Traficantes\n15 Segundos\nChama os Mulekes\nLa Pa Lapa\nRainha da Pista\nSem a Planta\nEuVoluindo", "Selecionar", "Fechar");
  104.         return 1;
  105.     }
  106.     if(strcmp(cmdtext, "/creditos", true) == 0)
  107.     {
  108.         SendClientMessage(playerid, 0xF6F600FF, "Pedro Miranda - Criação");
  109.         SendClientMessage(playerid, 0xF6F600FF, "Cone Crew Diretoria - Inspiração");
  110.         return 1;
  111.     }
  112.     return 0;
  113. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top