Jump to content

Question

Posted

hello i want to request 4049/Soul Linker cannot enter in the pvp rom :) here's my script thanks

prontera.gat,162,183,6 script PvP Warper 939,{

mes "[PvP Warper]";
mes "Which arena do you want to go to?";
next;
switch(select("PVP Arena["+getmapusers("pvp_y_1-2")+"/100]:Baby PvP  Room ["+getmapusers("pvp_y_5-2")+"/100]")) {


case 1: // Normal Pvp
if (getmapusers("pvp_y_1-2") > 99) callsub S_full;
sc_end SC_ALL;
percentheal 100,100;
sc_start SC_BLESSING,300000,10;
sc_start SC_INCREASEAGI,300000,10;
specialeffect2 EF_BLESSING;
specialeffect2 EF_INCAGILITY;
warp "pvp_y_1-2",0,0;
end;




Case 2: // Baby 3rd job PvP Room
if (getmapusers("pvp_y_5-2") > 99) callsub S_full;
if (class < 4096 || class > 4108) goto L_Not3Baby;
warp "pvp_y_5-2",0,0;
end;
L_Not3Baby:
mes "[PvP Warper]";
mes "Only  baby class can enter this room";
close; 

}

S_full:
mes "[PvP Warper]";
mes "I'm sorry, this arena is full.  Please try again later...";
close;

}

2 answers to this question

Recommended Posts

Posted
case 1: // Normal Pvp
if (getmapusers("pvp_y_1-2") > 99) callsub S_full;
if (class == 4049) {mes "[PvP Warper]"; mes "Soul Linkers are not allowed to enter this room"; close;}
sc_end SC_ALL;
percentheal 100,100;
sc_start SC_BLESSING,300000,10;
sc_start SC_INCREASEAGI,300000,10;
specialeffect2 EF_BLESSING;
specialeffect2 EF_INCAGILITY;
warp "pvp_y_1-2",0,0;
end;

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