Jump to content
  • 0

H>on this pvp


Question

Posted
prontera,163,194,4	script	PvP Warper	1198,{

if (getmapusers("pvp_y_1-2") > 30) goto Lsorry;
if ((class==Job_Novice_High)&&(class==Super_Novice)) goto Lnoob;
warp "pvp_y_1-2",0,0;
close;

Lsorry:
mes "[PvP Warper]";
mes "Sorry, The PvP Arena is Full.";
close;

Lnoob:
mes "[PvP Warper]";
mes "This place is ^FF0000RESTRICTED^000000 for your class.";
close;

OnInit:
do {
delwaitingroom;
waitingroom "PvP Warper [" + getmapusers("pvp_y_1-2") + " / 30]",0;
sleep 3000; // Evites super infinity loop
} while(1); // End Loop
end;
 
}

hello... i want to ask on this

 

if ((class==Job_Novice_High)&&(class==Super_Novice)) goto Lnoob;

 

i want to add restricted GM too.. is this correct? gmlvl 80 and above..

 

if ((class==Job_Novice_High)&&(class==Super_Novice)&&(getgmlevel()<80)) goto Lnoob;

is this right?

 

 

and how about getting rid all the soul link buff before entering on this pvp..

 

thank you...

4 answers to this question

Recommended Posts

Posted

Should be : 

( getgmlevel() > 80 )

otherwise even normal players will be restricted also.

 

and how about getting rid all the soul link buff before entering on this pvp..

+ sc_end SC_SPIRIT;
warp "pvp_y_1-2",0,0;
  • Upvote 1
Posted (edited)

hey patz... what if i want only gm lvl 80 and above can access gm menu?

coukd explaib me this?

getgmlevel()>80

getgmlevel()<80

i see somrthing like this too i think getgmlevel() >=

Edited by DwGen
Posted


getgmlevel() > 80 // 81 82 83 84......

getgmlevel() >= 80 // 80 81 82 83 84.....

getgmlevel() < 80 // 79 78 77 76 75.....

getgmlevel() <= 80 // 80 79 78 77 76....

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