Guest User

Untitled

a guest
May 2nd, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. if(dialogid == PGMENU)
  2. {
  3. if(response)
  4. {
  5. if(listitem == 0) //
  6. {
  7. if(RegistrationStep[playerid] == 5)
  8. {
  9. RegistrationStep[playerid] = 6;
  10. ShowPlayerDialog(playerid, PCMENU, DIALOG_STYLE_LIST, "Provoking Cops is allowed ?","Yes it is\nIf the cop Agree\nNever unless with Admin Permission", "Select", "Cancel");
  11. return 1;
  12. }
  13. }
  14. if(listitem == 1) //
  15. {
  16. if(RegistrationStep[playerid] == 5)
  17. {
  18. SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
  19. Kick(playerid);
  20. return 1;
  21. }
  22. }
  23. if(listitem == 2) //
  24. {
  25. if(RegistrationStep[playerid] == 5)
  26. {
  27. SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
  28. Kick(playerid);
  29. return 1;
  30. }
  31. }
  32. }
  33. return 1;
  34. }
  35. if(dialogid == PCMENU)
  36. {
  37. if(response)
  38. {
  39. if(listitem == 0) //
  40. {
  41. if(RegistrationStep[playerid] == 6)
  42. {
  43. SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
  44. Kick(playerid);
  45. return 1;
  46. }
  47. }
  48. if(listitem == 1) //
  49. {
  50. if(RegistrationStep[playerid] == 6)
  51. {
  52. SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
  53. Kick(playerid);
  54. return 1;
  55. }
  56. }
  57. if(listitem == 2) //
  58. {
  59. if(RegistrationStep[playerid] == 6)
  60. {
  61. RegistrationStep[playerid] = 7;
  62. ShowPlayerDialog(playerid, CKMENU, DIALOG_STYLE_LIST, "What does CK mean?","Never heard of\nChicken Krap\nCharchter Kill", "Select", "Cancel");
  63. return 1;
  64. }
  65. }
  66. }
  67. return 1;
  68. }
Advertisement
Add Comment
Please, Sign In to add comment