GMM

Untitled

GMM
May 5th, 2015
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1. if(dialogid == EventoDG)
  2. {
  3. if(response == 0)
  4. {
  5. SendClientMessage(playerid, COLOR_RED, "Oks, Obrigado!");
  6. TrazerTodos[playerid] = 0;
  7.  
  8. }
  9. if(response == 1)
  10. {
  11. new plo, world;
  12. world = GetPlayerVirtualWorld(playerid);
  13. new tmpcar = GetPlayerVehicleID(playerid);
  14. if(PlayerInfo[playerid][pJailed] != 0)
  15. {
  16. SendClientMessage(playerid,COLOR_GREY," Você não pode usar esse comando da cadeia!");
  17. TrazerTodos[playerid] = 0;
  18.  
  19. }
  20. SendClientMessage(playerid, COLOR_LIGHTRED, "Você foi teleportado pelo ADMIN, para participar do evento!");
  21. SetPlayerVirtualWorld(plo,world);
  22. RemovePlayerFromVehicle(tmpcar);
  23. SetVehicleToRespawn(GetPlayerVehicleID(playerid));
  24. >>>>>>>>>>> ResetPlayerWeaponsEx(playerid); <<<<<<<<<<<<<<<<<<<<< ;;;;;;;;;;;;;;;;;;;;;;;;; 3530
  25. SetPlayerPos(playerid, trazerx, trazery, trazerz);
  26. TrazerTodos[playerid] = 0;
  27. return 0; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3533
  28. }
  29. }
  30.  
  31. // fim trazertodos evento
  32.  
  33.  
  34. if(dialogid == FAROL)
  35. {
  36. if(response == 1)
  37. {
  38. if(listitem == 0)
  39. {
  40. OnPlayerCommandText(playerid,"/farolon"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3546
  41. return 1; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3547
  42. }
  43. if(listitem == 1)
  44. {
  45. OnPlayerCommandText(playerid,"/faroloff"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3551
  46. return 1; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3552
  47. }
  48. }
  49. else if(response == 0)
  50. {
  51. return 0; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3557
  52. }
  53. return 0; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3559
  54. }
  55. if(dialogid == 642)
  56. {
  57. if(response == 0)
  58. {
  59. //OnPlayerCommandText(playerid,"");
  60. //ShowPlayerDialog(playerid, 642, DIALOG_STYLE_MSGBOX, "Convite", "Você foi convidado para uma organização\nDeseja entrar para a organização ?", "Sim", "Nao");
  61. }
  62. if(response == 1)
  63. {
  64. OnPlayerCommandText(playerid,"/aceitar convite"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3570
  65. ShowPlayerDialog(playerid, 643, DIALOG_STYLE_MSGBOX, "Escolha Sua Skin", "{0FF768}Proximo: {F7D40F}Para trocar sua skin.\n{0FF768}Confirmar: {F7D40F}Para confirmar sua skin.", "Confirmar", "Próximo");
  66. }
  67. return 1; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3573
  68. }
  69. if(dialogid == 643)
  70. {
  71. if(response == 0)
  72. {
  73. OnPlayerText(playerid,"proximo"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3579
  74. ShowPlayerDialog(playerid, 643, DIALOG_STYLE_MSGBOX, "Escolha Sua Skin", "{0FF768}Proximo: {F7D40F}Para trocar sua skin.\n{0FF768}Confirmar: {F7D40F}Para confirmar sua skin.", "Confirmar", "Próximo");
  75. }
  76. if(response == 1)
  77. {
  78. OnPlayerText(playerid,"Confirma"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3584
  79. }
  80. return 1; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3586
  81. }
  82. if(dialogid == DIALOG_ANUNCIO)
  83. {
  84. if(response == 0)
  85. {
  86. PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
  87. return 1; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3593
  88. }
  89. if(response == 1)
  90. {
  91. PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
  92. if(listitem >= 0 && listitem <= 10)
  93. {
  94. if(listitem == 0)
  95. {
  96. OnPlayerCommandText(playerid,"/an_2_input 56"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3602
  97. }
  98. if(listitem == 1)
  99. {
  100. OnPlayerCommandText(playerid,"/an_2_input 1"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3606
  101. }
  102. if(listitem == 2)
  103. {
  104. OnPlayerCommandText(playerid,"/an_2_input 111"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3610
  105. }
  106. if(listitem == 3)
  107. {
  108. OnPlayerCommandText(playerid,"/an_2_input 31"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3614
  109. }
  110. if(listitem == 4)
  111. {
  112. OnPlayerCommandText(playerid,"/an_2_input 112"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3618
  113. }
  114. if(listitem == 5)
  115. {
  116. OnPlayerCommandText(playerid,"/an_2_input 113"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3622
  117. }
  118. if(listitem == 6)
  119. {
  120. OnPlayerCommandText(playerid,"/an_2_input 114"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3626
  121. }
  122. if(listitem == 7)
  123. {
  124. OnPlayerCommandText(playerid,"/an_2_input 115"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3630
  125. }
  126. if(listitem == 8)
  127. {
  128. OnPlayerCommandText(playerid,"/an_2_input 116"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3634
  129. }
  130. if(listitem == 9)
  131. {
  132. OnPlayerCommandText(playerid,"/an_2_input 117");
  133. }
  134. if(listitem == 10)
  135. {
  136. OnPlayerCommandText(playerid,"/an_2_input 118");
  137. }
  138. return 1;
  139. }
  140. else
  141. {
  142. OnPlayerCommandText(playerid,"/an_2_input 119");
  143. return 1;
  144. }
  145. }
  146. }
Advertisement
Add Comment
Please, Sign In to add comment