Hi i got some problem there
-no npc at warped map "guild_vs"
-you are not a team leader problem i changed (getcharid(0) != getpartyleader(1),[@MnF]) or else and NPC become silent. note: @MnF is party code ( set @MnF,1; @MnF<=5; set @MnF,@MnF+1 )
i wish i can set partymember and getcharid(0) and other party member will be : you are not a team leader.
sorry about difficult here , thank you so much .,.
prontera,182,214,4 script MVP Challanger 115,{ set @ZenyC,800000; set @ZenyP,500000; set @Player,12; set @BaseLv,80; set @Allround,5; set @Restround,4; setarray @RoundMod[1],1,1,1,1,1,1,1,1,1,3; setarray @MobID[1],1038,1039,1046,1059,1086,1087,1112,1115,1147,1150, 1157,1159,1190,1251,1252,1273,1312,1373,1389,1418,1492,1511,1583,1630,1688,2156;//script-Don't Modify// set @MobIDSize,(getarraysize(@MobID)-1); set @ItemSize,(getarraysize(@ReItemAID)-1); set @RoundSize,(getarraysize(@RoundMod)-1); if ( getcharid(1) == 0 ) { mes "[MVP Warper]"; mes "Sorry, You don't have any party!"; mes "Cannot participiant."; close; } if ( BaseLevel < @BaseLv ) { mes "[MVP Warper]"; mes "Sorry, Your level is out of required."; mes "Cannot participiant."; mes "Must be Lv^FF0000"+ @BaseLv +"^000000"; close; }mes "[MVP Warper]";mes "Hi, I'm MVP Warper";mes "How may i serve you?";next;select("I Wish to register!");//Leader// mes "Register with PARTY [^FF0000"+getpartyname(getcharid(1))+"^000000]?"; mes "The Registration Fees is ^FF0000"+@zenyc+"^000000zeny."; mes "And Every Party Member's fees is ^FF0000"+@zenyp+"^000000zeny."; mes "Do you ^FF0000Confirm^000000 to register?"; next; if (select("Register.","No")==2) { mes "[MVP Warper]"; mes "Thank you and please come again."; close; } if ( getcharid(0) == @PID[@MnF] ){ mes "You are not the Team leader!"; close; } if ( Zeny < @ZenyC) { mes "[MVP Warper]"; mes "Sorry, you are insufficient funds."; close; } for ( set @MnF,1; @MnF<=5; set @MnF,@MnF+1 ) { if ( getmapusers("guild_vs"+@MnF+"") == 0 ) { enablenpc "Referee#"+@MnF+""; //enablenpc "Dealer#"+@MnF+""; killmonsterall "guild_vs"+@MnF+""; set Zeny,Zeny- @ZenyC ; set @Start[@MnF],0; set @PID[@MnF],getcharid(1); set @CID[@MnF],getcharid(0); set @Round[@MnF],1; announce "Team member ["+ getpartyname(@PID[@MnF]) +"], please find the [MVP Warper] now.",15; warp "guild_vs"+@MnF+"",49,47; end; } } mes "[MVP Warper]"; mes "Sorry all the places is currently in use."; mes "Please wait, thank you"; close;//Partymember// for ( set @MnF,1; @MnF<=5; set @MnF,@MnF+1 ) { if ( getmapusers("guild_vs"+@MnF+"") == 0 ) set @PID[@MnF],0; } for ( set @MnF,1; @MnF <= 5; set @MnF,@MnF+1 ){ if ( getcharid(1) == @PID[@MnF] ){ mes "[MVP Warper]"; mes "Are you PARTY of [^FF0000"+ getpartyname(getcharid(1)) +"^000000]?"; mes "For the ENTRANCE FEE is^FF0000"+ @zenyp +"^000000zeny."; next; } if (select("Register!","No.")==2) { mes "[MVP Warper]"; mes "Thank you and please come again."; close; } if ( @Start[@MnF] == 1 ) { mes "[MVP Warper]"; mes "Sorry, Your teammate is already begin the MVP Challanges."; mes "Please waiting or join to other PARTY."; close; } if ( zeny < @zenyc ) { mes "[MVP Warper]"; mes "Sorry, you are insufficient funds."; close; } if ( getmapusers("guild_vs"+@MnF+"") >= @Player ) { mes "[MVP Warper]"; mes "The partymember of[^FF0000"+ getpartyname(getcharid(1)) +"^000000]if full."; mes "Please waiting or join to other PARTY."; close; } set zeny,zeny - @zenyp; warp "guild_vs"+@MnF+"",49,47; end; }}//Referee//guild_vs1,50,49,4 script Referee#1 115,{callfunc "referee",1;}guild_vs2,50,49,4 script Referee#2 115,{callfunc "referee",2;}guild_vs3,50,49,4 script Referee#3 115,{callfunc "referee",3;}guild_vs4,50,49,4 script Referee#4 115,{callfunc "referee",4;}guild_vs5,50,49,4 script Referee#5 115,{callfunc "referee",5;}//referee's function//function script Referee { if ( getcharid(0) == @PID[@MnF] ){ mes "You are not the Team leader!"; close; mes "[Referee]"; mes "Hi, Im Referee here."; mes "Do you want to start now ?"; close; switch (select ("Start!","Wait!")){ Case 1: set @start[@MnF],1; } }}//mapflagguild_vs1 mapflag nobranchguild_vs1 mapflag nomemoguild_vs1 mapflag nopenaltyguild_vs1 mapflag noteleportguild_vs1 mapflag nolootguild_vs2 mapflag nobranchguild_vs2 mapflag nomemoguild_vs2 mapflag nopenaltyguild_vs2 mapflag noteleportguild_vs2 mapflag nolootguild_vs3 mapflag nobranchguild_vs3 mapflag nomemoguild_vs3 mapflag nopenaltyguild_vs3 mapflag noteleportguild_vs3 mapflag nolootguild_vs4 mapflag nobranchguild_vs4 mapflag nomemoguild_vs4 mapflag nopenaltyguild_vs4 mapflag noteleportguild_vs4 mapflag nolootguild_vs5 mapflag nobranchguild_vs5 mapflag nomemoguild_vs5 mapflag nopenaltyguild_vs5 mapflag noteleportguild_vs5 mapflag nolootguild_room mapflag nobranchguild_room mapflag nomemoguild_room mapflag nopenaltyguild_room mapflag noteleport