Advertisement
Todo_Poderoso

Animes dialogo

Feb 26th, 2012
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. //==-=-=-=--==-=-=-=-==-=-=-=-=-=-=--=-==---=-=-==--==--==-=-=-=-=--==-=-=-=--=-==-=-=-=-=-=-//
  2. /*=--==-=-=-=--=-=-=-==--=-==--=-==--=FS Criador por Todo_Poderoso!!!=--==-=-=--==-=-=-==-=-=//
  3. -=-=-==--==--==--==--==--=-=-=-==--==-nao RETIRE OSCREDITOS-=-=-=-=-=-=-=--==-=--=-=-=-==--==*/
  4.  
  5. #define FILTERSCRIPT
  6. #include <a_samp>
  7. #if defined FILTERSCRIPT
  8. #define TP 100 //troque se seu gm tiver pode causar bug troque por outro numero de dialog caso seu gm nao tiver dialog defino 100 nao precisa
  9. //contem 14 Animes
  10. //==-=-=-=--==-=-=-=-==-=-=-=-=-=-=--=-==---=-=-==--==--==-=-=-=-=--==-=-=-=--=-==-=-=-=-=-=-//
  11. /*=--==-=-=-=--=-=-=-==--=-==--=-==--=FS Criador por Todo_Poderoso!!!=--==-=-=--==-=-=-==-=-=//
  12. -=-=-==--==--==--==--==--=-=-=-==--==-nao RETIRE OSCREDITOS-=-=-=-=-=-=-=--==-=--=-=-=-==--==*/
  13. public OnFilterScriptInit()
  14. {
  15. print("-=-==- Sistema De animes em dialog -=-==- ");
  16. print("-=-==- iniciado -=-==-|");
  17. print("-=-==- By Todo_Poderoso -=-==-");
  18. return 1;
  19. }
  20.  
  21.  
  22. public OnPlayerCommandText(playerid, cmdtext[])
  23. {
  24. if(strcmp(cmdtext, "/animes", true) == 0) {
  25. ShowPlayerDialog(playerid, TP, DIALOG_STYLE_LIST, "Sistema De Animes", "Handsup\nBebado\nAssaltar\nVomitar\nAcenar\nMirar Arma Na Centura\nEstatua\nAmarrar Sapato Devagar\nAmarrar Sapato Rapido\nFicku\nUrinar\nDeitar\nFumar Encostado\nsentar\nEngatinhar\nParar Anime\nCreditos", "Selecionar", "Cancelar");
  26. return 1;
  27. }
  28. return false;
  29. }
  30.  
  31.  
  32. //==-=-=-=--==-=-=-=-==-=-=-=-=-=-=--=-==---=-=-==--==--==-=-=-=-=--==-=-=-=--=-==-=-=-=-=-=-//
  33. /*=--==-=-=-=--=-=-=-==--=-==--=-==--=FS Criador por Todo_Poderoso!!!=--==-=-=--==-=-=-==-=-=//
  34. -=-=-==--==--==--==--==--=-=-=-==--==-nao RETIRE OSCREDITOS-=-=-=-=-=-=-=--==-=--=-=-=-==--==*/
  35. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  36. {
  37. if(dialogid == TP)
  38. if(response) {
  39. if(listitem == 0) { //handsup
  40. SetPlayerSpecialAction(playerid, 10);
  41. return 1;
  42. }
  43. if(listitem == 1) { //Ficar embreagado
  44. ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.0, 1, 1, 1, 1, 0);
  45. return 1;
  46. }
  47. if(listitem == 2) { // Assal
  48. ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
  49. return 1;
  50. }
  51. if(listitem == 3) { //Vomitar
  52. ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
  53. return 1;
  54. }
  55. if(listitem == 4) { //ACENAR
  56. ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
  57. return 1;
  58. }
  59. if(listitem == 5) { // mirar arma na centura
  60. ApplyAnimation(playerid,"BAR","Barcustom_get",4.1,0,1,1,1,1);
  61. return 1;
  62. }
  63. if(listitem == 6) { //estatua
  64. ApplyAnimation(playerid,"BOX","bxshwlki",4.1,0,1,1,1,1);
  65. return 1;
  66. }
  67. if(listitem == 7) { // amarrar sapato devagar
  68. ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.1,0,1,1,1,1);
  69. return 1;
  70. }
  71. if(listitem == 8) { // amarrar sapato rapido
  72. ApplyAnimation(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,1,1);
  73. return 1;
  74. }
  75. if(listitem == 9) { // Ficku
  76. ApplyAnimation(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0);
  77. return 1;
  78. }
  79. if(listitem == 10) { //Pinto piu mijar
  80. ApplyAnimation(playerid, "PAULNMAC", "Piss_in", 4.0, 1, 0, 0, 0, 0);
  81. return 1;
  82. }
  83. if(listitem == 11) { //deitar
  84. ApplyAnimation(playerid, "CRACK", "Crckidle2", 4.0, 1, 0, 0, 0, 0);
  85. return 1;
  86. }
  87. if(listitem == 12) { //fumar encostado
  88. ApplyAnimation(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  89. return 1;
  90. }
  91. if(listitem == 13) { //sentar
  92. ApplyAnimation(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
  93. return 1;
  94. }
  95. if(listitem == 14) { //Engatinhar
  96. ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,1,1,1,1,1,1);
  97. return 1;
  98. }
  99. if(listitem == 15) { //Parar animes
  100. ClearAnimations(playerid);
  101. return 1;
  102. }
  103. if(listitem == 16) { //Creditos
  104. //nao Retire
  105. SendClientMessage(playerid,0x7CFC00AA,"Creditos a Todo_Poderoso ");
  106. return 1;
  107. }
  108. }
  109. return 1;
  110. }
  111.  
  112.  
  113. //==-=-=-=--==-=-=-=-==-=-=-=-=-=-=--=-==---=-=-==--==--==-=-=-=-=--==-=-=-=--=-==-=-=-=-=-=-//
  114. /*=--==-=-=-=--=-=-=-==--=-==--=-==--=FS Criador por Todo_Poderoso!!!=--==-=-=--==-=-=-==-=-=//
  115. -=-=-==--==--==--==--==--=-=-=-==--==-nao RETIRE OSCREDITOS-=-=-=-=-=-=-=--==-=--=-=-=-==--==*/
  116. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement