Jump to content
  • 0

Request PVP ROOM


imajhaynation

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  54
  • Reputation:   1
  • Joined:  02/21/12
  • Last Seen:  

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;

}

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   46
  • Joined:  10/30/12
  • Last Seen:  

Thanks @nanakiwurtz . Your script help me to improve my pvp script.  /no1

Link to comment
Share on other sites

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.

×
×
  • Create New...