Advertisement
Guest User

filescript

a guest
May 7th, 2012
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 15.99 KB | None | 0 0
  1. //////////////////////////////////////////////////////////////////////////////////////////
  2. //----------------------------------------------------------------------------------------
  3. //========================================================================================
  4. //=== ///////\\\  II/////  //////    II  II\\\\\\   IIIIIII  //\\          IIIIIIII  II ==
  5. //=== ///      // II       //        II  II      \\ II       // \\      //    II     II ==
  6. //=== ///    ///  II        //       II  II      \\ II       //  \\    //     II     II ==
  7. //=== ///   ///   II/////    /////   II  II      // IIIIIII  //  \\   //      II     II ==
  8. //=== ///   \\\   II              \\ II  II     //  II       //  \\  //       II     II ==
  9. //=== ///    \\\  II              \\ II  II    //   II       //   \\//        II     II ==
  10. //=== ///     \\  II/////   //////   II  II/////    IIIIIII  //               II     II ==
  11. //========================================================================================
  12. //----------------------------------------------------------------------------------------
  13. //////////////////////////////////////////////////////////////////////////////////////////
  14.  
  15.  
  16.  
  17. #include <a_samp>
  18. #include <zcmd>
  19.  
  20. //_|Defines|____________________________________________________________________
  21. #define Animes 9924
  22.  
  23. public OnFilterScriptInit()
  24. {
  25.  print("*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==*");
  26.  print("*                                          *");
  27.  print("*Sistema de animes v2.5 Carregado           *");
  28.  print("*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*");
  29.  return 1;
  30. }
  31. //_|OnFilterScriptExit|_________________________________________________________
  32. public OnFilterScriptExit()
  33. {
  34.  print("*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==*");
  35.  print("*                                          *");
  36.  print("*Sistema de animes v2.5 Descarregado          *");
  37.  print("*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*");
  38.  return 1;
  39.  }
  40. //______________________|Onplayerconnect|_______________________________________
  41. public OnPlayerConnect(playerid)
  42. {
  43.   SendClientMessage(playerid,0xFF0000AA,"Este Servidor Usa um Sistema De Animação/Animes Criado por {FF0000} [RvM]R3$1D3NT1_.:");
  44.   return 1;
  45. }
  46. //_|Animes|_____________________________________________________________________
  47. CMD:animes(playerid,params[])
  48.   {
  49.     ShowPlayerDialog(playerid, Animes, DIALOG_STYLE_LIST,
  50.     "{E40000}Sistema de Animes-[RvM]",
  51.     "{FF0000}|BEBADO|\n{FF0000}|BOMBA|\n{FF0000}|APONTAR|\n{FF0000}|MERDA|\n{FF0000}|MASCARARSE|\n{FF0000}|ROUBAR|\n{FF0000}|CRUZARB|\n{FF0000}|DEITAR|\n{FF0000}|ABAIXAR|\n{FF0000}|VOMITAR|\n{FF0000}|COMER|\n{FF0000}|RAP|\n{FF0000}|PASSARAMao|\n{FF0000}|COBRAR|\n{FF0000}|OVERDOSE|\n{FF0000}|FUMAR|\n{FF0000}|SENTAR|\n{FF0000}|CONVERSAR|\n{FF0000}|FODA-SE|\n{FF0000}|TAICHI|\n{FF0000}|OBESERVAR|\n{FF0000}|FICA DE 4|\n|Para animação|\n|Creditos desse FS|",
  52.     "Usar", "Cancelar");
  53.  
  54.     return 1;
  55.  }
  56. //__________________________|Dialog|____________________________________________
  57. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  58. {
  59.     if(dialogid == Animes)
  60.   {
  61.         if(response)
  62.      {
  63.             if(listitem == 0)
  64.             {
  65.             ClearAnimations(playerid);
  66.             ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.0, 1, 1, 1, 1, 0);
  67.             new string[2530];
  68.             new pname[MAX_PLAYER_NAME];
  69.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  70.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação BEBADO{FF0000}( /Animes )", pname);
  71.             SendClientMessageToAll(0xFF0000FF, string);
  72.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  73.             }
  74.             if(listitem == 1) {
  75.             ClearAnimations(playerid);
  76.             ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  77.             new string[2530];
  78.             new pname[MAX_PLAYER_NAME];
  79.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  80.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Bomba{FF0000}( /Animes )", pname);
  81.             SendClientMessageToAll(0xFF0000FF, string);
  82.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  83.             }
  84.             if(listitem == 2) {
  85.             ClearAnimations(playerid);
  86.             ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
  87.             new string[2530];
  88.             new pname[MAX_PLAYER_NAME];
  89.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  90.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Apontar{FF0000}( /Animes )", pname);
  91.             SendClientMessageToAll(0xFF0000FF, string);
  92.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  93.             }
  94.             if(listitem == 3) {
  95.             ClearAnimations(playerid);
  96.             ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
  97.             new string[2530];
  98.             new pname[MAX_PLAYER_NAME];
  99.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  100.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Merda{FF0000}( /Animes )", pname);
  101.             SendClientMessageToAll(0xFF0000FF, string);
  102.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  103.             }
  104.             if(listitem == 4) {
  105.             ClearAnimations(playerid);
  106.             ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
  107.             new string[2530];
  108.             new pname[MAX_PLAYER_NAME];
  109.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  110.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Mascarar-se{FF0000}( /Animes )", pname);
  111.             SendClientMessageToAll(0xFF0000FF, string);
  112.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  113.             }
  114.             if(listitem == 5) {
  115.             ClearAnimations(playerid);
  116.             ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
  117.             new string[2530];
  118.             new pname[MAX_PLAYER_NAME];
  119.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  120.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Roubar{FF0000}( /Animes )", pname);
  121.             SendClientMessageToAll(0xFF0000FF, string);
  122.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  123.             }
  124.             if(listitem == 6) {
  125.             ClearAnimations(playerid);
  126.             ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  127.             new string[2530];
  128.             new pname[MAX_PLAYER_NAME];
  129.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  130.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Cruzar Braços{FF0000}( /Animes )", pname);
  131.             SendClientMessageToAll(0xFF0000FF, string);
  132.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  133.             }
  134.             if(listitem == 7) {
  135.             ClearAnimations(playerid);
  136.             ApplyAnimation(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
  137.             new string[2530];
  138.             new pname[MAX_PLAYER_NAME];
  139.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  140.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Deitar{FF0000}( /Animes )", pname);
  141.             SendClientMessageToAll(0xFF0000FF, string);
  142.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  143.             }
  144.             if(listitem == 8) {
  145.             ClearAnimations(playerid);
  146.             ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  147.             new string[2530];
  148.             new pname[MAX_PLAYER_NAME];
  149.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  150.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Abaixar{FF0000}( /Animes )", pname);
  151.             SendClientMessageToAll(0xFF0000FF, string);
  152.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  153.             }
  154.             if(listitem == 9) {
  155.             ClearAnimations(playerid);
  156.             ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
  157.             new string[2530];
  158.             new pname[MAX_PLAYER_NAME];
  159.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  160.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Vomitar{FF0000}( /Animes )", pname);
  161.             SendClientMessageToAll(0xFF0000FF, string);
  162.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  163.             }
  164.             if(listitem == 10) {
  165.             ClearAnimations(playerid);
  166.             ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
  167.             new string[2530];
  168.             new pname[MAX_PLAYER_NAME];
  169.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  170.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Comer{FF0000}( /Animes )", pname);
  171.             SendClientMessageToAll(0xFF0000FF, string);
  172.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  173.             }
  174.             if(listitem == 11) {
  175.             ClearAnimations(playerid);
  176.             ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
  177.             new string[2530];
  178.             new pname[MAX_PLAYER_NAME];
  179.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  180.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Rap{FF0000}( /Animes )", pname);
  181.             SendClientMessageToAll(0xFF0000FF, string);
  182.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  183.             }
  184.             if(listitem == 12) {
  185.             ClearAnimations(playerid);
  186.             ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
  187.             new string[2530];
  188.             new pname[MAX_PLAYER_NAME];
  189.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  190.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Passar a mão{FF0000}( /Animes )", pname);
  191.             SendClientMessageToAll(0xFF0000FF, string);
  192.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  193.             }
  194.             if(listitem == 13) {
  195.             ClearAnimations(playerid);
  196.             ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
  197.             new string[2530];
  198.             new pname[MAX_PLAYER_NAME];
  199.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  200.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Cobrar{FF0000}( /Animes )", pname);
  201.             SendClientMessageToAll(0xFF0000FF, string);
  202.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  203.             }
  204.             if(listitem == 14) {
  205.             ClearAnimations(playerid);
  206.             ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
  207.             new string[2530];
  208.             new pname[MAX_PLAYER_NAME];
  209.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  210.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Overdose{FF0000}( /Animes )", pname);
  211.             SendClientMessageToAll(0xFF0000FF, string);
  212.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  213.             }
  214.             if(listitem == 15) {
  215.             ClearAnimations(playerid);
  216.             ApplyAnimation(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  217.             new string[2530];
  218.             new pname[MAX_PLAYER_NAME];
  219.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  220.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Fumar{FF0000}( /Animes )", pname);
  221.             SendClientMessageToAll(0xFF0000FF, string);
  222.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  223.             }
  224.             if(listitem == 16) {
  225.             ClearAnimations(playerid);
  226.             ApplyAnimation(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
  227.             new string[2530];
  228.             new pname[MAX_PLAYER_NAME];
  229.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  230.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animaçao Sentar{FF0000}( /Animes )", pname);
  231.             SendClientMessageToAll(0xFF0000FF, string);
  232.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  233.             }
  234.             if(listitem == 17) {
  235.             ClearAnimations(playerid);
  236.             ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.0, 0, 0, 0, 0, 0);
  237.             new string[2530];
  238.             new pname[MAX_PLAYER_NAME];
  239.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  240.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Conversar{FF0000}( /Animes )", pname);
  241.             SendClientMessageToAll(0xFF0000FF, string);
  242.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  243.             }
  244.             if(listitem == 18) {
  245.             ClearAnimations(playerid);
  246.             ApplyAnimation(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0);
  247.             new string[2530];
  248.             new pname[MAX_PLAYER_NAME];
  249.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  250.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou Foda-se{FF0000}( /Animes )", pname);
  251.             SendClientMessageToAll(0xFF0000FF, string);
  252.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  253.             }
  254.             if(listitem == 19) {
  255.             ClearAnimations(playerid);
  256.             ApplyAnimation(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0);
  257.             new string[2530];
  258.             new pname[MAX_PLAYER_NAME];
  259.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  260.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Tai-Chi-Loop{FF0000}( /Animes )", pname);
  261.             SendClientMessageToAll(0xFF0000FF, string);
  262.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  263.             }
  264.             if(listitem == 20) {
  265.             ClearAnimations(playerid);
  266.             ApplyAnimation(playerid, "BAR", "dnk_stndF_loop", 4.0, 1, 0, 0, 0, 0);
  267.             new string[2530];
  268.             new pname[MAX_PLAYER_NAME];
  269.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  270.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Observar{FF0000}( /Animes )", pname);
  271.             SendClientMessageToAll(0xFF0000FF, string);
  272.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  273.             }
  274.             if(listitem == 21) {
  275.             ClearAnimations(playerid);
  276.             ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,0,1,1,1,1);
  277.             new string[2530];
  278.             new pname[MAX_PLAYER_NAME];
  279.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  280.             format(string, sizeof(string), "{FF0000}[ANIMES-INFO] {FFFFFF}%s Usou animação Fica de 4{FF0000}( /Animes )", pname);
  281.             SendClientMessageToAll(0xFF0000FF, string);
  282.             SendClientMessage(playerid,0xFF0000AA,"Caso animação não funcione Tente 2x");
  283.             }
  284.             if(listitem == 22) {
  285.             ClearAnimations(playerid);
  286.             }
  287.             if(listitem == 22) {
  288.             SendClientMessage(playerid,0xFF0000AA,"-=|Filescript|=-Criado Por [RvM]R3S1D3NT1 nick novo(=$witch=)");
  289.             }
  290.         }
  291.     }
  292.     return 0;
  293.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement