Advertisement
Oxxy

Untitled

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