Jump to content
  • 0

PVP warper w/ Restriction


Question

Posted

I wato to request a PVP warper NPC that has some restrction on some class

like the:

PVP MAP 1 all class can enter

PVP MAP 2 only the Trans Class can Enter

PVP MAP 3 only the 3rd Class can Enter

can somebody make me 1?

anyone?

4 answers to this question

Recommended Posts

Posted

thank man! iwill test it!

I tested it but it doesn't block any class like all the job can enter in all the 3 rooms..

present script

prontera,150,150,5 script PvP-Warper 99,{
set .@room1$,"guild_vs3"; //Insert map name into quotation marks & adjust to your desire
set .@room2$,"pvp_n_6-3"; //Insert map name into quotation marks & adjust to your desire
set .@room3$,"pvp_n_7-3"; //Insert map name into quotation marks & adjust to your desire
set .@name$,"[PvP Warper]"; //NPC Dialogue name
mes .@name$;
mes "Hello, I'm the PvP Warper I can warp you to one of the 3 PvP maps available.";
mes "Please select one of the warps for me to continue.";
switch(select("All Class:Trans Class:3rd Class")){
case 1:
warp .@room1$,0,0;
end;
case 2:
if(Class >= 4000 || Class <= 4022){ //Allows any Trans Class, High Novice - Paladin
warp .@room2$,0,0;
end;
}
close;
case 3:
if(Class >= 4054 || Class <= 4087){ //Allows Rune Knight to Mechanic, no matter if they rebirthed before or not
warp .@room3$,0,0;
end;
}
close;
}
}

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...