prontera,51,67,5 script pvp 730,{
set .@mapcount_1,getmapusers("guild_vs3");
set .@mapcount_2,getmapusers("final_dest");
set .@mapcount_3,getmapusers("guild_vs2");
set .@mapcount_4,getmapusers("guild_vs1");
while(1) {
switch(select("["+.@mapcount_1+"/128] Pvp Arena:["+.@mapcount_2+"/128] Pvp Arena 2:["+.@mapcount_3+"/128] Solo PVP:["+.@mapcount_4+"/128] Baby Job PVP:Cancel")){
case 1:
if(Disguised == 1) goto L_disguised;
callsub S_CheckPVPRoom,@mapcount_1,"guild_vs3.gat";
break;
case 2:
if(Disguised == 1) goto L_disguised;
callsub S_CheckPVPRoom,@mapcount_2,"guild_vs5.gat";
break;
case 3:
if(Disguised == 1) goto L_disguised;
callsub S_CheckPVPRoom,@mapcount_3,"guild_vs2.gat";
break;
case 4:
if(Disguised == 1) goto L_disguised;
callsub S_CheckPVPRoom,@mapcount_4,"guild_vs1.gat";
break;
case 5:
close;
}
L_disguised:
mes "[PvP Arena]";
mes "Sorry but disguised players are not allowed to enter the pvp room.";
close;
OnInit:
waitingroom "PVP Arena",0;
end;
}
S_CheckPVPRoom:
if (getarg(0) >= 128) {
mes "[PVP Fight Square Reception Staff]";
mes "This map is currently full.";
next;
return;
}
else {
warp getarg(1),0,0;
announce ""+ strcharinfo(0) +" has entered the PvP Room.",bc_all,0x99ff00;
end;
}
}
Why player with disguised can join pvp room?? anyone can fix?