Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pvp_n_2-5,135,100,3 script Exit 420,{
- OnQuit:
- for(.@i = 0; .@i < getarraysize(.pvpMaps$); .@i++) {
- if(strcharinfo(3) == .pvpMaps$[.@i] break;
- else {
- message strcharinfo(0),"Вы не находитесь на арене.";
- end;
- }
- }
- cutin "bat_kiyom1",2;
- if(select("Выйти с арены:Отмена") == 2) { close2; cutin "",255; end; }
- @code = rand(10000,99999);
- message strcharinfo(0),"Введите число "+@code;
- input @c;
- if(@c == @code) {
- close2;
- cutin "",255;
- warp "SavePoint",0,0;
- end;
- } else { close2; cutin "",255; message strcharinfo(0),"Вы ввели неправильное число."; end; }
- OnInit:
- waitingroom "[Выход]",0;
- setarray .pvpMaps$[0], "pvp_n_2-5", "prt_fild08";
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement