prontera,150,187,5 script Arena 413,{
switch( select( "2nd Class Arena [ "+getmapusers("pvp_y_1-2")+" Users ]",
"3rd class Arena [ "+getmapusers("pvp_y_2-2")+" Users ]",
"No Donation 2nd Job [ "+getmapusers("pvp_y_3-2")+" Users ]",
"No Donation 3rd Job [ "+getmapusers("pvp_y_4-2")+" Users ]",
"One on One [ "+getmapusers("pvp_y_5-2")+" Users ]",
"Info" ) ) {
Case 1:
if ( Class > 4043 ){
mes "You are not 2nd Class , so you cant enter.";
}else{
warp "pvp_y_1-2",0,0;
announce ""+strcharinfo(0)+" Has Enter PvP 2nd Class Room !!",bc,0xBAB9B9;
}
break;
Case 2:
if ( Class < 4054 ){
mes "You are not 3rd Class , so you cant enter.";
}else{
warp "pvp_y_2-2",0,0;
announce ""+strcharinfo(0)+" Has Enter PvP 3rd Class Room !!",bc,0xBAB9B9;
}
break;
Case 3:
if ( Class > 4043 ){
mes "You are not 2nd Job class , so you cant enter.";
}else{
for( set .@i,0; .@i<getarraysize(.NoDonator_ids); set .@i,.@i+1 )
if (countitem(.NoDonator_ids[.@i])) {
mes "You can not bring God items in this pvp.";
close;
}
warp "pvp_y_3-2",0,0;
announce ""+strcharinfo(0)+" Has Enter PvP No Donation 2nd Job Room !!",bc,0xBAB9B9;
}
break;
Case 4:
if ( Class < 4054 ){
mes "You are not 3rd Class , so you cant enter.";
}else{
for( set .@i,0; .@i<getarraysize(.NoDonator_ids); set .@i,.@i+1 )
if (countitem(.NoDonator_ids[.@i])) {
mes "You can not bring God items in this pvp.";
close;
}
warp "pvp_y_4-2",0,0;
announce ""+strcharinfo(0)+" Has Enter PvP No Donation 3rd Class Room !!",bc,0xBAB9B9;
}
break;
Case 5:
mes "The PvP Room is free for all wants to fight each other,";
break;
}
close;
OnInit:
waitingroom "PvP Warper ",0;
// items not allowed in Non Donator PVP
setarray .NoDonator_ids[0], 2410, 1530, 2629, 2630, 16007, 31000, 31001, 31002, 31003;
end;
}
Question
Boy
Hi,
Anyone can help me how to update this script.
i need add 1 on 1 pvp room.
http://pastebin.com/LyK0mDtg
Edited by AnnieRuruuse [codebox] if the script >10 lines
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.