Jump to content
  • 0
Dev Yhams

PVP SCRIPT

Question

how to do the pvp of 2 rom but the 1 room is only for lvl 80 and above trans and the other for the first job lvl 50 and above can only enter
PLEASE HELP ME THANK YOU

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
prontera,123,123,3	script	pvp	99,{
	mes "Choose one";
  	switch(select("Trans:First"){
      case 1:
      			.@eac = eaclass();
      			if(Baselevel <80 && Class != .@eac&EAJL_UPPER ) {
                  Mes "You can't enter this room";
                  close;
                }
      			warp "map",0,0;
      			end;
      case 2:
      			.@eac = eaclass();
      			if(Baselevel <50 && @eac&(EAJL_UPPER) ) {
                  Mes "You can't enter this room";
                  close;
                }
      			warp "map",0,0;
      			end;
}

Try this im not test it

Link to comment
Share on other sites

  • 0

she is not show on prontera

i try this 
prontera,156,172,3    script    pvp    612,{
    mes "Choose one";
      switch(select("Trans:First"){
      case 1:
                  [email protected] = eaclass();
                  if(Baselevel <80 && Class != [email protected]&EAJL_UPPER ) {
                  Mes "You can't enter this room";
                  close;
                }
                  warp "Prontera",110,110;
                  end;
      case 2:
                  [email protected] = eaclass();
                  if(Baselevel <50 && @eac&(EAJL_UPPER) ) {
                  Mes "You can't enter this room";
                  close;
                }
                  warp "prontera",100,100;
                  end;
}

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.