Jump to content
  • 0

Question

Posted

Okay here it goes.. i searched again but theres no answer to my question..

Can i request an NPC Script

PVP warper to pvp_y_1-2

Will not let you in if u carry any of the FF:

YGG BERRY

YGG SEED

YGG BOXES (or any form of YGG BOX)

and also cannot be used..

named PVP Warper No Ygg

with a Sign of how many characters are inside

Thanks!! well i got this from someone.. and maybe u can just edit this..

sorry if i cannot edit this script because i don't have any idea of how to do this :)

prontera,147,160,5 script PVP Warper No Ygg 871,{

setarray .itemlist[0], 607,14232,610,608,13517,12534,12535;
set .@name$, "[PVP Warper No YGG]";

mes .@name$;
mes ".......................";
mes ".......................";
mes ".......................";
mes ".......................";
next;
 switch(select("Izlude:Exit")) {
  case 1:
   callsub ItemCheck;
   mes "Ready?";
   close2;
   warp "izlude",0,0;
   end;
  case 2:
   mes "Have a nice day.";
   close;
  }

ItemCheck:
 for (set .@i,0; .@i < getarraysize(.itemlist); set .@i, .@i + 1) {
  if ( countitem(.itemlist[.@i]) > 0 ) {
   mes "[ultimate PvP Warper]";
   mes "Sorry! >> ^ff0000" +getitemname(.itemlist[.@i]) + "^000000 << is not allowed in PvP.";
   close;
  }
 }
return;

OnInit:
 waitingroom "PvP Warper",0;
 end;
}

Thanks for all your support!!!

2 answers to this question

Recommended Posts

Posted

just list all the restricted item in the

db/item_noequip.txt

then add the appropriate mapflag to the map of pvp

mapname mapflag restricted <flag>
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...