Ozzy_Linguagens

Sistema de Animações V1.2 - By Ozzy {Truck}

Jul 17th, 2012
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 41.50 KB | None | 0 0
  1. //=============================================================================
  2. //=============================================================================
  3. /*                    FILTERSCRIPT FEITO POR Ozzy
  4.  
  5.                       Contém sistema de Animações em Dialog !
  6.                       Skype:    Gleisson33
  7.  
  8.  
  9.                       Mantenha os créditos.
  10.  
  11.                 ==>         http://forum.sa-mp.com/showthread.php?t=359121
  12.  
  13.     * Atualizado V1.2    17/07/2012
  14.  
  15.                                                                               */
  16. //=============================================================================
  17. //=============================================================================
  18.  
  19.  
  20.  
  21. /*    INCLUDES      */
  22. #include    a_samp
  23. #include     zcmd
  24.  
  25. #if defined FILTERSCRIPT
  26.  
  27. // _____________________________________________________________________________
  28.  
  29.  
  30. #else
  31.  
  32.  
  33. #endif
  34.  
  35. public OnFilterScriptInit()
  36. {
  37.     print("\n________________________________________________");
  38.     print(" Filterscript de Animações Feito por Ozzy");
  39.     print(" Filterscript de Animações Carregado Com SUCESSO");
  40.     print("\n________________________________________________");
  41.  
  42.     return 1;
  43. }
  44.  
  45. /*
  46.  
  47.  
  48. 15 = Principal
  49. 16 = Bar
  50. 17 = Base Ball
  51. 18 = Gestos
  52. 19 = Musculação
  53. 20 = Bikes
  54. 23 = Gangs
  55. 24 = Gangs 2
  56. 25 = Gangs 3
  57. 26 = Bomba
  58. 27 = Caixas
  59. 28 = Pulos
  60. 29 = Danças
  61. 30 = Crack
  62. */
  63.  
  64.  
  65. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  66. {
  67. if(response)
  68.     {
  69.     switch(dialogid == 15)
  70.         {
  71.         case 1:
  72.             {
  73.             switch(listitem)
  74.             {
  75.                 case 0:  /* Primeiro Item */
  76.                 {
  77.                                  ShowPlayerDialog(playerid, 16, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações de Bar", "1\n{FFFAFA}2\n{FFFAFA}3\n{FFFAFA}4\n{FFFAFA}5\n{FFFAFA}6\n{FFFAFA}7\n{FFFAFA}8\n{FFFAFA}9\n{FFFAFA}10\n{FFFAFA}11\n{FFFAFA}12\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  78.                 }
  79.                 case 1:
  80.                 {
  81.                                  new cMenuString[408];
  82.                                  cMenuString = " ";
  83.                                  strcat(cMenuString, "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n");
  84.                                  strcat(cMenuString, "15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\nVoltar");
  85.                                  ShowPlayerDialog(playerid, 17, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações de Basquete", cMenuString, "Selecionar", "Cancelar");
  86.                 }
  87.  
  88.                 case 2:
  89.                 {
  90.                                  ShowPlayerDialog(playerid, 18, DIALOG_STYLE_LIST, "{FF0000}Animações de Gestos", "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\nVoltar", "Selecionar", "Cancelar");
  91.                 }
  92.                 case 3:
  93.                 {
  94.                                  ShowPlayerDialog(playerid, 19, DIALOG_STYLE_LIST, "{FF0000}Animações de Musculação", "1\n2\n3\n4\n5\n6\n7\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  95.                 }
  96.                 case 4:
  97.                 {
  98.                                  ShowPlayerDialog(playerid, 20, DIALOG_STYLE_LIST, "{FF0000}Animações de Bike", "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  99.                 }
  100.                 case 5:
  101.                 {
  102.                                  ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "{FF0000}Animações de Gangs", "Saudações\nDialogando Com Gang\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  103.                 }
  104.                 case 6:
  105.                 {
  106.                                  ShowPlayerDialog(playerid, 26, DIALOG_STYLE_LIST, "{FF0000}Animações de Bomba", "1\n2\n3\n4\n5\n6\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  107.                 }
  108.                 case 7:
  109.                 {
  110.                                  ShowPlayerDialog(playerid, 27, DIALOG_STYLE_LIST, "{FF0000}Animações Carregando Caixa", "1\n2\n3\n4\n5\n6\n7\n8\n9\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  111.                 }
  112.                 case 8:
  113.                 {
  114.                                  ShowPlayerDialog(playerid, 28, DIALOG_STYLE_LIST, "{FF0000}Modos de Pulo", "1\n2\n3\n4\n5\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  115.                 }
  116.                 case 9:
  117.                 {
  118.                                  ShowPlayerDialog(playerid, 29, DIALOG_STYLE_LIST, "{FF0000}Animações de Dança", "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  119.                 }
  120.                 case 10:
  121.                 {
  122.                                  ShowPlayerDialog(playerid, 30, DIALOG_STYLE_LIST, "{FF0000}Animações de Crack", "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  123.                 }
  124.         }
  125.  
  126.     }
  127. }
  128.  
  129. /*==============================================================================
  130.                                     BAR
  131. ================================================================================*/
  132.  
  133.     switch(dialogid == 16)
  134.         {
  135.         case 1://
  136.             {
  137.             switch(listitem)
  138.             {
  139.                 case 0: /* Item 1 */
  140.                 {
  141.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barcustom_get", 4.1, 0, 1, 0, 0, 0, 0);
  142.                 }
  143.                 case 1:
  144.                 {
  145.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barcustom_loop", 4.1, 0, 1, 0, 0, 0, 0);
  146.                 }
  147.                 case 2:
  148.                 {
  149.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barcustom_order", 4.1, 0, 1, 0, 0, 0, 0);
  150.                 }
  151.                 case 3:
  152.                 {
  153.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barserve_bottle", 4.1, 0, 1, 0, 0, 0, 0);
  154.                 }
  155.                 case 4:
  156.                 {
  157.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barserve_give", 4.1, 0, 1, 0, 0, 0, 0);
  158.                 }
  159.                 case 5:
  160.                 {
  161.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barserve_glass", 4.1, 0, 1, 0, 0, 0, 0);
  162.                 }
  163.                 case 6:
  164.                 {
  165.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barserve_in", 4.1, 0, 1, 0, 0, 0, 0);
  166.                 }
  167.                 case 7:
  168.                 {
  169.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barserve_loop", 4.1, 0, 1, 0, 0, 0, 0);
  170.                 }
  171.                 case 8:
  172.                 {
  173.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "Barserve_order", 4.1, 0, 1, 0, 0, 0, 0);
  174.                 }
  175.                 case 9:
  176.                 {
  177.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "dnk_stndF_loop", 4.1, 0, 1, 0, 0, 0, 0);
  178.                 }
  179.                 case 10:
  180.                 {
  181.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "dnk_stndM_loop", 4.1, 0, 1, 0, 0, 0, 0);
  182.                 }
  183.                 case 11: /* Último Item 11 */
  184.                 {
  185.                 ClearAnimations(playerid); ApplyAnimation(playerid, "BAR", "BARman_idle", 4.1, 0, 0, 0, 0, 0, 0);
  186.                 }
  187.                 case 12: /* Último Item 11 */
  188.                 {
  189.                 ClearAnimations(playerid); ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  190.                 }
  191.             }
  192.         }
  193.     }
  194. /*==============================================================================
  195.                                     Base Ball
  196. ================================================================================*/
  197.     switch(dialogid == 17)
  198.         {
  199.         case 1:
  200.             {
  201.             switch(listitem)
  202.             {
  203.                 case 0:  /* Primeiro Item */
  204.                 {
  205.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_def_jump_shot", 4.1, 0, 1, 0, 0, 0, 0);
  206.                 }
  207.                 case 1:
  208.                 {
  209.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_def_loop", 4.1, 0, 1, 0, 0, 0, 0);
  210.                 }
  211.                 case 2:
  212.                 {
  213.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_def_stepL", 4.1, 0, 1, 0, 0, 0, 0);
  214.                 }
  215.                 case 3:
  216.                 {
  217.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_def_stepR", 4.1, 0, 1, 0, 0, 0, 0);
  218.                 }
  219.                 case 4:
  220.                 {
  221.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Dnk", 4.1, 0, 1, 0, 0, 0, 0);
  222.                 }
  223.                 case 5:
  224.                 {
  225.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Dnk_Gli", 4.1, 0, 1, 0, 0, 0, 0);
  226.                 }
  227.                 case 6:
  228.                 {
  229.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Dnk_Gli_O", 4.1, 0, 1, 0, 0, 0, 0);
  230.                 }
  231.                 case 7:
  232.                 {
  233.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Dnk_Lnch", 4.1, 0, 1, 0, 0, 0, 0);
  234.                 }
  235.                 case 8:
  236.                 {
  237.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Dnk_Lnch_O", 4.1, 0, 1, 0, 0, 0, 0);
  238.                 }
  239.                 case 9:
  240.                 {
  241.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Dnk_Lnd", 4.1, 0, 1, 0, 0, 0, 0);
  242.                 }
  243.                 case 10:
  244.                 {
  245.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Dnk_O", 4.1, 0, 1, 0, 0, 0, 0);
  246.                 }
  247.                 case 11:
  248.                 {
  249.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_idle", 4.1, 0, 1, 0, 0, 0, 0);
  250.                 }
  251.                 case 12:
  252.                 {
  253.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_idle2", 4.1, 0, 1, 0, 0, 0, 0);
  254.                 }
  255.                 case 13:
  256.                 {
  257.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_idle2_O", 4.1, 0, 1, 0, 0, 0, 0);
  258.                 }
  259.                 case 14:
  260.                 {
  261.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_idleloop", 4.1, 0, 1, 0, 0, 0, 0);
  262.                 }
  263.                 case 15:
  264.                 {
  265.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_idleloop_O", 4.1, 0, 1, 0, 0, 0, 0);
  266.                 }
  267.                 case 16:
  268.                 {
  269.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_idle_O", 4.1, 0, 1, 0, 0, 0, 0);
  270.                 }
  271.                 case 17:
  272.                 {
  273.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Jump_Cancel", 4.1, 0, 1, 0, 0, 0, 0);
  274.                 }
  275.                 case 18:
  276.                 {
  277.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Jump_Cancel_0", 4.1, 0, 1, 0, 0, 0, 0);
  278.                 }
  279.                 case 19:
  280.                 {
  281.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Jump_End", 4.1, 0, 1, 0, 0, 0, 0);
  282.                 }
  283.                 case 20:
  284.                 {
  285.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Jump_Shot", 4.1, 0, 1, 0, 0, 0, 0);
  286.                 }
  287.                 case 21:
  288.                 {
  289.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Jump_Shot_O", 4.1, 0, 1, 0, 0, 0, 0);
  290.                 }
  291.                 case 22:
  292.                 {
  293.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_Net_Dnk_O", 4.1, 0, 1, 0, 0, 0, 0);
  294.                 }
  295.                 case 23:
  296.                 {
  297.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_pickup", 4.1, 0, 1, 0, 0, 0, 0);
  298.                 }
  299.                 case 24:
  300.                 {
  301.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_pickup_O", 4.1, 0, 1, 0, 0, 0, 0);
  302.                 }
  303.                 case 25:
  304.                 {
  305.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_react_miss", 4.1, 0, 1, 0, 0, 0, 0);
  306.                 }
  307.                 case 26:
  308.                 {
  309.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_react_score", 4.1, 0, 1, 0, 0, 0, 0);
  310.                 }
  311.                 case 27:
  312.                 {
  313.                                  ClearAnimations(playerid); ApplyAnimation(playerid, "BSKTBALL", "BBALL_run", 4.1, 0, 1, 0, 0, 0, 0);
  314.                 }
  315.                 case 28:
  316.                 {
  317.                                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  318.                 }
  319.             }
  320.         }
  321.     }
  322. /*==============================================================================
  323.                                     GESTOS
  324. ================================================================================*/
  325.     switch(dialogid == 18)     /* GESTOS */
  326.         {
  327.         case 1:
  328.             {
  329.             switch(listitem)
  330.             {
  331.                 case 0:  /* Primeiro Item */
  332.                 {
  333.                     ClearAnimations(playerid); ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.0, 1, 1, 1, 1, 0);
  334.                 }
  335.                 case 1:
  336.                 {
  337.  
  338.                     ClearAnimations(playerid); ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  339.                 }
  340.                 case 2:
  341.                 {
  342.                   ClearAnimations(playerid); ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
  343.                 }
  344.                 case 3:
  345.                 {
  346.                    ClearAnimations(playerid); ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
  347.                 }
  348.                 case 4:
  349.                 {
  350.                    ClearAnimations(playerid); ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
  351.                 }
  352.                 case 5:
  353.                 {
  354.                    ClearAnimations(playerid); ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
  355.                 }
  356.                 case 6:
  357.                 {
  358.                    ClearAnimations(playerid); ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  359.                 }
  360.                 case 7:
  361.                 {
  362.                    ClearAnimations(playerid); ApplyAnimation(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
  363.                 }
  364.                 case 8:
  365.                 {
  366.                     ClearAnimations(playerid); ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  367.                 }
  368.                 case 9:
  369.                 {
  370.                     ClearAnimations(playerid); ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
  371.                 }
  372.                 case 10:
  373.                 {
  374.                     ClearAnimations(playerid); ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
  375.                 }
  376.                 case 11: /* Último Item 11 */
  377.                 {
  378.                     ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  379.                 }
  380.             }
  381.         }
  382.     }
  383. /*==============================================================================
  384.                                     MUSCULAÇÃO
  385. ================================================================================*/
  386.     switch(dialogid == 19)
  387.         {
  388.         case 1:
  389.             {
  390.             switch(listitem)
  391.             {
  392.                 case 0:  /* Primeiro Item */
  393.                 {
  394.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "benchpress", "gym_bp_celebrate", 4.1, 0, 1, 0, 0, 0, 0);
  395.                 }
  396.                 case 1:
  397.                 {
  398.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "benchpress", "gym_bp_down", 4.1, 0, 1, 0, 0, 0, 0);
  399.                 }
  400.  
  401.                 case 2:
  402.                 {
  403.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "benchpress", "gym_bp_getoff", 4.1, 0, 1, 0, 0, 0, 0);
  404.                 }
  405.                 case 3:
  406.                 {
  407.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "benchpress", "gym_bp_geton", 4.1, 0, 1, 0, 0, 0, 0);
  408.                 }
  409.                 case 4:
  410.                 {
  411.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "benchpress", "gym_bp_up_A", 4.1, 0, 1, 0, 0, 0, 0);
  412.                 }
  413.                 case 5:
  414.                 {
  415.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "benchpress", "gym_bp_up_B", 4.1, 0, 1, 0, 0, 0, 0);
  416.                 }
  417.                 case 6:
  418.                 {
  419.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "benchpress", "gym_bp_up_smooth", 4.1, 0, 1, 0, 0, 0, 0);
  420.                 }
  421.                 case 7:
  422.                 {
  423.                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  424.  
  425.                 }
  426.             }
  427.         }
  428.     }
  429. /*==============================================================================
  430.                                     Bikes
  431. ================================================================================*/
  432.     switch(dialogid == 20)   //BikeS
  433.         {
  434.         case 1:
  435.             {
  436.             switch(listitem)
  437.             {
  438.                 case 0:  /* Primeiro Item */
  439.                 {
  440.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeD", "Biked_getoffBACK", 4.1, 0, 1, 0, 0, 0, 0);
  441.                 }
  442.                 case 1:
  443.                 {
  444.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeD", "Biked_getoffLHS", 4.1, 0, 1, 0, 0, 0, 0);
  445.                 }
  446.  
  447.                 case 2:
  448.                 {
  449.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeD", "Biked_getoffRHS", 4.1, 0, 1, 0, 0, 0, 0);
  450.                 }
  451.                 case 3:
  452.                 {
  453.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeD", "Biked_hit", 4.1, 0, 1, 0, 0, 0, 0);
  454.                 }
  455.                 case 4:
  456.                 {
  457.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeD", "Biked_jumponL", 4.1, 0, 1, 0, 0, 0, 0);
  458.                 }
  459.                 case 5:
  460.                 {
  461.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeD", "Biked_jumponR", 4.1, 0, 1, 0, 0, 0, 0);
  462.                 }
  463.                 case 6:
  464.                 {
  465.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeH", "Bikeh_getoffBACK", 4.1, 0, 1, 0, 0, 0, 0);
  466.                 }
  467.                 case 7:
  468.                 {
  469.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeH", "Bikeh_getoffRHS", 4.1, 0, 1, 0, 0, 0, 0);
  470.                 }
  471.                 case 8:
  472.                 {
  473.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeH", "Bikeh_hit", 4.1, 0, 1, 0, 0, 0, 0);
  474.                 }
  475.                 case 9:
  476.                 {
  477.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeH", "Bikeh_jumponL", 4.1, 0, 1, 0, 0, 0, 0);
  478.                 }
  479.                 case 10:
  480.                 {
  481.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeH", "Bikeh_jumponR", 4.1, 0, 1, 0, 0, 0, 0);
  482.                 }
  483.                 case 11:
  484.                 {
  485.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BikeH", "Bikeh_kick", 4.1, 0, 1, 0, 0, 0, 0);
  486.                 }
  487.                 case 12:
  488.                 {
  489.                                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  490.                 }
  491.             }
  492.         }
  493.     }
  494.  
  495. /*==============================================================================
  496.                                     Gangs
  497. ================================================================================*/
  498.     switch(dialogid == 23)
  499.         {
  500.         case 1:
  501.             {
  502.             switch(listitem)
  503.             {
  504.                 case 0:  /* Primeiro Item */
  505.                 {
  506.                                 ShowPlayerDialog(playerid, 24, DIALOG_STYLE_LIST, "{FF0000}Lista de Saudações", "1\n2\n3\n4\n5\n6\n7\n8\nVoltar", "Selecionar", "Cancelar");
  507.                 }
  508.                 case 1:
  509.                 {
  510.                                 ShowPlayerDialog(playerid, 25, DIALOG_STYLE_LIST, "{FF0000}Animações Dialogando Gangs", "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\nVoltar", "Selecionar", "Cancelar");
  511.                 }
  512.                 case 2:
  513.                 {
  514.                                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  515.                 }
  516.  
  517.             }
  518.  
  519.         }
  520.      }
  521. /*==============================================================================
  522.                                     Gangs 2
  523. ================================================================================*/
  524.     switch(dialogid == 24)
  525.         {
  526.         case 1:
  527.             {
  528.             switch(listitem)
  529.             {
  530.                 case 0:  /* Primeiro Item */
  531.                 {
  532.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "hndshkaa", 4.1, 0, 1, 0, 0, 0, 0);
  533.                 }
  534.                 case 1:
  535.                 {
  536.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "hndshkba", 4.1, 0, 1, 0, 0, 0, 0);
  537.                 }
  538.  
  539.                 case 2:
  540.                 {
  541.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "hndshkca", 4.1, 0, 1, 0, 0, 0, 0);
  542.                 }
  543.                 case 3:
  544.                 {
  545.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "hndshkcb", 4.1, 0, 1, 0, 0, 0, 0);
  546.                 }
  547.                 case 4:
  548.                 {
  549.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "hndshkda", 4.1, 0, 1, 0, 0, 0, 0);
  550.                 }
  551.                 case 5:
  552.                 {
  553.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "hndshkea", 4.1, 0, 1, 0, 0, 0, 0);
  554.                 }
  555.                 case 6:
  556.                 {
  557.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "hndshkfa", 4.1, 0, 1, 0, 0, 0, 0);
  558.                 }
  559.                 case 7:
  560.                 {
  561.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "hndshkfa_swt", 4.1, 0, 1, 0, 0, 0, 0);
  562.                 }
  563.  
  564.                 case 8:  //
  565.                 {
  566.                                 ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "Animações de Gangs", "Saudações\nDialogando Com Gang\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  567.                 }
  568.  
  569.             }
  570.         }
  571.     }
  572. /*==============================================================================
  573.                                     Gangs 3
  574. ================================================================================*/
  575.     switch(dialogid == 25)
  576.         {
  577.         case 1:
  578.             {
  579.             switch(listitem)
  580.             {
  581.                 case 0:  /* Primeiro Item */
  582.                 {
  583.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "Invite_No", 4.1, 0, 1, 0, 0, 0, 0);
  584.                 }
  585.                 case 1:
  586.                 {
  587.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "Invite_Yes", 4.1, 0, 1, 0, 0, 0, 0);
  588.                 }
  589.  
  590.                 case 2:
  591.                 {
  592.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "leanIDLE", 4.1, 0, 1, 0, 0, 0, 0);
  593.                 }
  594.                 case 3:
  595.                 {
  596.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "leanIN", 4.1, 0, 1, 0, 0, 0, 0);
  597.                 }
  598.                 case 4:
  599.                 {
  600.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "leanOUT", 4.1, 0, 1, 0, 0, 0, 0);
  601.                 }
  602.                 case 5:
  603.                 {
  604.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_gngtlkA", 4.1, 0, 1, 0, 0, 0, 0);
  605.                 }
  606.                 case 6:
  607.                 {
  608.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_gngtlkB", 4.1, 0, 1, 0, 0, 0, 0);
  609.                 }
  610.                 case 7:
  611.                 {
  612.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_gngtlkCt", 4.1, 0, 1, 0, 0, 0, 0);
  613.                 }
  614.                 case 8:
  615.                 {
  616.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_gngtlkD", 4.1, 0, 1, 0, 0, 0, 0);
  617.                 }
  618.                 case 9:
  619.                 {
  620.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_gngtlkE", 4.1, 0, 1, 0, 0, 0, 0);
  621.                 }
  622.                 case 10:
  623.                 {
  624.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_gngtlkF", 4.1, 0, 1, 0, 0, 0, 0);
  625.                 }
  626.                 case 11:
  627.                 {
  628.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_gngtlkG", 4.1, 0, 1, 0, 0, 0, 0);
  629.                 }
  630.                 case 12:
  631.                 {
  632.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_gngtlkH", 4.1, 0, 1, 0, 0, 0, 0);
  633.                 }
  634.                 case 13:
  635.                 {
  636.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_hndshk_01", 4.1, 0, 1, 0, 0, 0, 0);
  637.                 }
  638.                 case 14:
  639.                 {
  640.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "GANGS", "prtial_hndshk_biz_01", 4.1, 0, 1, 0, 0, 0, 0);
  641.                 }
  642.                 case 15:  //
  643.                 {
  644.                                 ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "Animações de Gangs", "Saudações\nDialogando Com Gang\n{FFFAFA}Voltar", "Selecionar", "Cancelar");
  645.                 }
  646.  
  647.             }
  648.  
  649.         }
  650.      }
  651. /*==============================================================================
  652.                                     Bombas
  653. ================================================================================*/
  654.     switch(dialogid == 26)
  655.         {
  656.         case 1:
  657.             {
  658.             switch(listitem)
  659.             {
  660.                 case 0:  /* Primeiro Item */
  661.                 {
  662.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 1, 0, 0, 0, 0);
  663.                 }
  664.                 case 1:
  665.                 {
  666.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOMBER", "BOM_Plant_2Idle", 4.1, 0, 1, 0, 0, 0, 0);
  667.                 }
  668.  
  669.                 case 2:
  670.                 {
  671.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOMBER", "BOM_Plant_Crouch_In", 4.1, 0, 1, 0, 0, 0, 0);
  672.                 }
  673.                 case 3:
  674.                 {
  675.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOMBER", "BOM_Plant_Crouch_Out", 4.1, 0, 1, 0, 0, 0, 0);
  676.                 }
  677.                 case 4:
  678.                 {
  679.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOMBER", "BOM_Plant_In", 4.1, 0, 1, 0, 0, 0, 0);
  680.                 }
  681.                 case 5:
  682.                 {
  683.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOMBER", "BOM_Plant_Loop", 4.1, 0, 1, 0, 0, 0, 0);
  684.                 }
  685.                 case 6:
  686.                 {
  687.                                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  688.  
  689.                 }
  690.             }
  691.  
  692.         }
  693.     }
  694. /*==============================================================================
  695.                                     Caixas
  696. ================================================================================*/
  697.     switch(dialogid == 27)
  698.         {
  699.         case 1:
  700.             {
  701.             switch(listitem)
  702.             {
  703.                 case 0:  /* Primeiro Item */
  704.                 {
  705.                                 ApplyAnimation(playerid, "BOX", "boxhipin", 4.1, 0, 1, 0, 0, 0, 0);
  706.                 }
  707.                 case 1:
  708.                 {
  709.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOX", "boxhipup", 4.1, 0, 1, 0, 0, 0, 0);
  710.                 }
  711.  
  712.                 case 2:
  713.                 {
  714.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOX", "boxshdwn", 4.1, 0, 1, 0, 0, 0, 0);
  715.                 }
  716.                 case 3:
  717.                 {
  718.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOX", "boxshup", 4.1, 0, 1, 0, 0, 0, 0);
  719.                 }
  720.                 case 4:
  721.                 {
  722.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOX", "bxhipwlk", 4.1, 0, 1, 0, 0, 0, 0);
  723.                 }
  724.                 case 5:
  725.                 {
  726.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOX", "bxhwlki", 4.1, 0, 1, 0, 0, 0, 0);
  727.                 }
  728.                 case 6:
  729.                 {
  730.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOX", "bxshwlk", 4.1, 0, 1, 0, 0, 0, 0);
  731.  
  732.                 }
  733.                 case 7:
  734.                 {
  735.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOX", "bxwlko", 4.1, 0, 1, 0, 0, 0, 0);
  736.  
  737.                 }
  738.                 case 8:
  739.                 {
  740.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "BOX", "catch_box", 4.1, 0, 1, 0, 0, 0, 0);
  741.  
  742.                 }
  743.                 case 9:
  744.                 {
  745.                                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  746.  
  747.                 }
  748.             }
  749.         }
  750.     }
  751. /*==============================================================================
  752.                                     Pulos
  753. ================================================================================*/
  754.     switch(dialogid == 28)
  755.         {
  756.             case 1:
  757.             {
  758.             switch(listitem)
  759.             {
  760.                 case 0:  /* Primeiro Item */
  761.                 {
  762.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DAM_JUMP", "DAM_Dive_Loop", 4.1, 0, 1, 0, 0, 0, 0);
  763.                 }
  764.                 case 1:
  765.                 {
  766.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DAM_JUMP", "DAM_Land", 4.1, 0, 1, 0, 0, 0, 0);
  767.                 }
  768.  
  769.                 case 2:
  770.                 {
  771.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DAM_JUMP", "DAM_Launch", 4.1, 0, 1, 0, 0, 0, 0);
  772.                 }
  773.                 case 3:
  774.                 {
  775.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DAM_JUMP", "Jump_Roll", 4.1, 0, 1, 0, 0, 0, 0);
  776.                 }
  777.                 case 4:
  778.                 {
  779.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DAM_JUMP", "SF_JumpWall", 4.1, 0, 1, 0, 0, 0, 0);
  780.                 }
  781.                 case 5:
  782.                 {
  783.                                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  784.                 }
  785.             }
  786.         }
  787.     }
  788. /*==============================================================================
  789.                                     Danças
  790. ================================================================================*/
  791.     switch(dialogid == 29)
  792.         {
  793.             case 1:
  794.             {
  795.             switch(listitem)
  796.             {
  797.                 case 0:  /* Primeiro Item */
  798.                 {
  799.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "bd_clap", 4.1, 0, 1, 0, 0, 0, 0);
  800.                 }
  801.                 case 1:
  802.                 {
  803.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "bd_clap1", 4.1, 0, 1, 0, 0, 0, 0);
  804.                 }
  805.                 case 2:
  806.                 {
  807.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "dance_loop", 4.1, 0, 1, 0, 0, 0, 0);
  808.                 }
  809.                 case 3:
  810.                 {
  811.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "DAN_Down_A", 4.1, 0, 1, 0, 0, 0, 0);
  812.                 }
  813.                 case 4:
  814.                 {
  815.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "DAN_Left_A", 4.1, 0, 1, 0, 0, 0, 0);
  816.                 }
  817.                 case 5:
  818.                 {
  819.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "DAN_Loop_A", 4.1, 0, 1, 0, 0, 0, 0);
  820.                 }
  821.  
  822.                 case 6:
  823.                 {
  824.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "DAN_Right_A", 4.1, 0, 1, 0, 0, 0, 0);
  825.                 }
  826.  
  827.                 case 7:
  828.                 {
  829.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "DAN_Up_A", 4.1, 0, 1, 0, 0, 0, 0);
  830.                 }
  831.  
  832.                 case 8:
  833.                 {
  834.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "dnce_M_a", 4.1, 0, 1, 0, 0, 0, 0);
  835.                 }
  836.                 case 9:
  837.                 {
  838.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "dnce_M_b", 4.1, 0, 1, 0, 0, 0, 0);
  839.                 }
  840.  
  841.                 case 10:
  842.                 {
  843.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "dnce_M_c", 4.1, 0, 1, 0, 0, 0, 0);
  844.                 }
  845.  
  846.                 case 11:
  847.                 {
  848.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "dnce_M_d", 4.1, 0, 1, 0, 0, 0, 0);
  849.                 }
  850.  
  851.                 case 12:
  852.                 {
  853.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "DANCING", "dnce_M_e", 4.1, 0, 1, 0, 0, 0, 0);
  854.                 }
  855.  
  856.  
  857.                 case 13:
  858.                 {
  859.                                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  860.                 }
  861.             }
  862.         }
  863.     }
  864. /*==============================================================================
  865.                                     Crack
  866. ================================================================================*/
  867.     switch(dialogid == 30)
  868.         {
  869.             case 1:
  870.             {
  871.             switch(listitem)
  872.             {
  873.                 case 0:  /* Primeiro Item */
  874.                 {
  875.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "Bbalbat_Idle_01", 4.1, 0, 1, 0, 0, 0, 0);
  876.                 }
  877.                 case 1:
  878.                 {
  879.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "Bbalbat_Idle_02", 4.1, 0, 1, 0, 0, 0, 0);
  880.                 }
  881.                 case 2:
  882.                 {
  883.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "crckdeth1", 4.1, 0, 1, 0, 0, 0, 0);
  884.                 }
  885.                 case 3:
  886.                 {
  887.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.1, 0, 1, 0, 0, 0, 0);
  888.                 }
  889.                 case 4:
  890.                 {
  891.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "crckdeth3", 4.1, 0, 1, 0, 0, 0, 0);
  892.                 }
  893.                 case 5:
  894.                 {
  895.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "crckdeth4", 4.1, 0, 1, 0, 0, 0, 0);
  896.                 }
  897.  
  898.                 case 6:
  899.                 {
  900.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "crckidle1", 4.1, 0, 1, 0, 0, 0, 0);
  901.                 }
  902.                 case 7:
  903.                 {
  904.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "crckidle2", 4.1, 0, 1, 0, 0, 0, 0);
  905.                 }
  906.  
  907.                 case 8:
  908.                 {
  909.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "crckidle3", 4.1, 0, 1, 0, 0, 0, 0);
  910.                 }
  911.                 case 9:
  912.                 {
  913.                                 ClearAnimations(playerid); ApplyAnimation(playerid, "CRACK", "crckidle4", 4.1, 0, 1, 0, 0, 0, 0);
  914.                 }
  915.  
  916.                 case 10:
  917.                 {
  918.                                 ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  919.                 }
  920.             }
  921.         }
  922.     }
  923. }
  924. return 1;
  925. }
  926.  
  927. CMD:animes(playerid, params[])
  928. {
  929.             ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "{FF0000}Lista de Animações", "Animações de Bar\nAnimações de Basquete\nAnimações de Gestos\nAnimações de Musculação\nAnimações com Bike\nAnimações de Gangs\nAnimações com Bomba\nAnimações com Caixas\nModos de Pular\nAnimações de Dança\nAnimações de Crack", "Selecionar", "Cancelar");
  930.             return 1;
  931. }
  932.  
  933. CMD:parara(playerid, params[])
  934. {
  935. ClearAnimations(playerid);
  936. ClearAnimations(playerid);
  937. return 1;
  938. }
  939. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  940. {
  941.  
  942. if((newkeys == 131072))
  943. {
  944. if(GetPlayerAnimationIndex(playerid))
  945. ClearAnimations(playerid);
  946. }
  947. return 1;
  948. }
Advertisement
Add Comment
Please, Sign In to add comment