Advertisement
Oxxy

Untitled

May 28th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. pvp_n_2-5,135,100,3 script Exit 420,{
  2. OnQuit:
  3. for(.@i = 0; .@i < getarraysize(.pvpMaps$); .@i++) {
  4. if(strcharinfo(3) == .pvpMaps$[.@i] {
  5.  
  6. Show the code and stuff
  7. } else {
  8. message strcharinfo(0),"Вы не находитесь на арене.";
  9. end;
  10. }
  11. }
  12.  
  13. cutin "bat_kiyom1",2;
  14. if(select("Выйти с арены:Отмена") == 2) { close2; cutin "",255; end; }
  15.  
  16. @code = rand(10000,99999);
  17. message strcharinfo(0),"Введите число "+@code;
  18. input @c;
  19. if(@c == @code) {
  20. close2;
  21. cutin "",255;
  22. warp "SavePoint",0,0;
  23. end;
  24. } else { close2; cutin "",255; message strcharinfo(0),"Вы ввели неправильное число."; end; }
  25.  
  26. OnInit:
  27. waitingroom "[Выход]",0;
  28. setarray .pvpMaps$[0], "pvp_n_2-5", "prt_fild08";
  29. end;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement