Advertisement
johnlol

Recarregador

May 27th, 2019
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. ________________     ______            ________      
  3. ___    |_____  /________  /______      ___  __ \_____
  4. __  /| |  __  /_  __ \_  __ \  _ \     __  /_/ /  __ \
  5. _  ___ / /_/ / / /_/ /  /_/ /  __/     _  _, _// /_/ /
  6. /_/  |_\__,_/  \____//_.___/\___/      /_/ |_| \____/
  7.  
  8. */
  9.  
  10. sec_in02.gat,139,141,2  script  Recarregador    868,{
  11.  
  12. set @name$,"[^a800ff Recarregador ^000000]"; // Nome do NPC
  13. set @nivel,99; // Nível necessário para poder recarregar alguma coisa
  14.  
  15. mes @name$;
  16. mes "Olá ^FF6699"+strcharinfo(0)+"^000000!";
  17. next;
  18. mes @name$;
  19. mes "O que você deseja?";
  20. menu "Reeniciar NPC's",L_rn,"Reeniciar Database",L_rdb,"Reeniciar Battle Conf",L_rbc,"Reeniciar contas de GM",L_rg,"Nada, obrigado.",-;
  21. next;
  22. mes @name$;
  23. mes "Ok. Vá com Deus!";
  24. close;
  25.  
  26. L_rn:
  27. next;
  28. if(getgmlevel() == @nivel){
  29. mes @name$;
  30. mes "Deseja realmente reeniciar NPC's?";
  31. menu "Sim, por favor.",-,"Não, obrigado.",L_nv;
  32. next;
  33. atcommand "@reloadscript";
  34. next;
  35. mes @name$;
  36. mes "Prontinho, NPC's recarregados!";
  37. close;
  38. }else{
  39. next;
  40. mes @name$;
  41. mes "Você não é GM nível ^FF0000"+@nivel+"^000000";
  42. close;
  43. }
  44.  
  45. L_rdb:
  46. next;
  47. if(getgmlevel() == @nivel){
  48. mes @name$;
  49. mes "Deseja realmente reeniciar a Database?";
  50. menu "Sim, por favor.",-,"Não, obrigado.",L_nv;
  51. next;
  52. atcommand "@reloadpcdb";
  53. next;
  54. mes @name$;
  55. mes "Prontinho, database recarregada!";
  56. close;
  57. }else{
  58. next;
  59. mes @name$;
  60. mes "Você não é GM nível ^FF0000"+@nivel+"^000000";
  61. close;
  62. }
  63.  
  64. L_rbc:
  65. next;
  66. if(getgmlevel() == @nivel){
  67. mes @name$;
  68. mes "Deseja realmente reeniciar a Battle Conf?";
  69. menu "Sim, por favor.",-,"Não, obrigado.",L_nv;
  70. next;
  71. atcommand "@reloadbattleconf";
  72. next;
  73. mes @name$;
  74. mes "Prontinho, configurações recarregadas!";
  75. close;
  76. }else{
  77. next;
  78. mes @name$;
  79. mes "Você não é GM nível ^FF0000"+@nivel+"^000000";
  80. close;
  81. }
  82.  
  83. L_rg:
  84. next;
  85. if(getgmlevel() == @nivel){
  86. mes @name$;
  87. mes "Deseja realmente reeniciar a database dos GM's?";
  88. menu "Sim, por favor.",-,"Não, obrigado.",L_nv;
  89. next;
  90. L_gmdb:
  91. atcommand "@reloadgmdb";
  92. next;
  93. mes @name$;
  94. mes "Prontinho, database dos GM's recarregadas!";
  95. close;
  96. }else{
  97. next;
  98. mes @name$;
  99. mes "Você não é GM nível ^FF0000"+@nivel+"^000000";
  100. close;
  101. }
  102.  
  103. L_nv:
  104. next;
  105. mes @name$;
  106. mes "Volte quando precisar de mim!";
  107. close;
  108.  
  109. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement