Advertisement
Guest User

Untitled

a guest
Nov 25th, 2012
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. //Animlist 0.1
  2. //That filterscript by MarkzD!
  3. //
  4. //
  5.  
  6. #include <a_samp>
  7.  
  8. #if defined FILTERSCRIPT
  9.  
  10.  
  11.  
  12. #else
  13.  
  14.  
  15. #endif
  16.  
  17.  
  18.  
  19. public OnPlayerCommandText(playerid, cmdtext[])
  20. {
  21. if (strcmp("/anim", cmdtext, true, 10) == 0)
  22. {
  23. ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Animlist","Dance 1\nDance 2\nBeach 1\nBeach 2\nCarry 1\nCarry 2\nCarry 3\nCrack 1\nCrack 2\nCrack 2\nDealer 1\nDealer 2\nDildo 1\nDildo 2\nFat 1\nFat 2\nFat 3\nFat 4\nFood 1\nPed 1\nSmoking 1\nStrip 1","Ok","Exit");
  24. return 1;
  25. }
  26. return 0;
  27. }
  28.  
  29.  
  30. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  31. {
  32. if(response)
  33. {
  34. switch(dialogid)
  35. {
  36. case 1: // dialog id
  37. {
  38. switch(listitem)
  39. {
  40. case 0:ApplyAnimation(playerid,"DANCING","dnce_M_c",4.1,1,1,1,1,1,1);
  41. case 1:ApplyAnimation(playerid,"DANCING","DAN_Down_A",4.1,1,1,1,1,1,1);
  42. case 2:ApplyAnimation(playerid,"BEACH","Bather",4.1,1,1,1,1,1,1);
  43. case 3:ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop",4.1,1,1,1,1,1,1);
  44. case 4:ApplyAnimation(playerid,"CARRY","liftup",4.1,1,1,1,1,1,1);
  45. case 5:ApplyAnimation(playerid,"CARRY","liftup05",4.1,1,1,1,1,1,1);
  46. case 6:ApplyAnimation(playerid,"CARRY","putdwn105",4.1,1,1,1,1,1,1);
  47. case 7:ApplyAnimation(playerid,"CRACK","Bbalbat_Idle_02",4.1,1,1,1,1,1,1);
  48. case 8:ApplyAnimation(playerid,"CRACK","crckidle4",4.1,1,1,1,1,1,1);
  49. case 9:ApplyAnimation(playerid,"CRACK","crckdeth1",4.1,1,1,1,1,1,1);
  50. case 10:ApplyAnimation(playerid,"DEALER","DEALER_DEAL",4.1,1,1,1,1,1,1);
  51. case 11:ApplyAnimation(playerid,"DEALER","DEALER_IDLE_01",4.1,1,1,1,1,1,1);
  52. case 12:ApplyAnimation(playerid,"DILDO","DILDO_Hit_1",4.1,1,1,1,1,1,1);
  53. case 13:ApplyAnimation(playerid,"DILDO","DILDO_Hit_2",4.1,1,1,1,1,1,1);
  54. case 14:ApplyAnimation(playerid,"FAT","FatIdle",4.1,1,1,1,1,1,1);
  55. case 15:ApplyAnimation(playerid,"FAT","IDLE_tired",4.1,1,1,1,1,1,1);
  56. case 16:ApplyAnimation(playerid,"FAT","FatWalk_Rocket",4.1,1,1,1,1,1,1);
  57. case 17:ApplyAnimation(playerid,"FAT","FatWalkstart",4.1,1,1,1,1,1,1);
  58. case 18:ApplyAnimation(playerid,"FOOD","EAT_Burger",4.1,1,1,1,1,1,1);
  59. case 19:ApplyAnimation(playerid,"ped","SEAT_up",4.1,1,1,1,1,1,1);
  60. case 20:ApplyAnimation(playerid,"SMOKING","M_smk_out",4.1,1,1,1,1,1,1);
  61. case 21:ApplyAnimation(playerid,"STRIP","STR_A2B",4.1,1,1,1,1,1,1);
  62. }
  63. }
  64. }
  65. }
  66. return 1;
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement