Jump to content

Question

8 answers to this question

Recommended Posts

Posted (edited)

ill tried your script but it doesn't count when you are inside pvp room.

here's my pvp room script.

prontera,156,175,6 script PvP Arena 413,{

mes "[PvP Warper]";

mes "Do you want to warp to the PvP Arena and fight your enemies?";

menu "Sure, Bring it on!",L_Yes,"Nah, I'm not ready yet.",L_No;

L_Yes:

mes "[PvP Warper]";

mes "Which PvP Arena do you want to enter?";

menu "PvP Arena [" + getmapusers("pvp_y_1-2.gat") + " / 20]",L1,

"GvG Arena [" + getmapusers("guild_vs2.gat") + " / 20]",L2,

"Nightmare Mode [" + getmapusers("guild_vs4.gat") + " / 20]",L3;

L1:

if (getmapusers("pvp_y_1-2.gat") > 19) goto Lsorry;

warp "pvp_y_1-2",0,0;

announce "[ "+strcharinfo(0)+" ] is warped into PVP Arena.",0;

close;

L2:

if (getmapusers("guild_vs2.gat") > 19) goto Lsorry;

warp "guild_vs2",0,0;

announce "[ "+strcharinfo(0)+" ] is warped into GVG Arena.",0;

close;

close;

L3:

if (getmapusers("guild_vs4.gat") > 19) goto Lsorry;

warp "guild_vs4",0,0;

announce "[ "+strcharinfo(0)+" ] is warped into Nightmare Mode.",0;

close;

close;

Lsorry:

mes "[PvP Warper]";

mes "Sorry but this PvP Arena is full, maybe you could try another one.";

close;

L_No:

close;

OnInit:

waitingroom "PVP : "+getmapusers("pvp_y_1-2")+" Users",0;

sleep 1000;

}

hugel,93,152,3 duplicate(PvP Arena) PvP Arena#2 413

lighthalzen,154,94,3 duplicate(PvP Arena) PvP Arena#3 413

guild_vs2 mapflag noteleport

guild_vs2 mapflag nowarp

guild_vs2 mapflag noreturn

guild_vs4 mapflag noteleport

guild_vs4 mapflag nowarp

guild_vs4 mapflag noreturn

Edited by Hatake Kakashi
Posted

your way ...

OnInit:
waitingroom "PVP : "+getmapusers("pvp_y_1-2")+" Users",0;
sleep 1000;

my way...

OnInit:
while( 1 ){
delwaitingroom;
waitingroom "PVP : "+getmapusers("prontera")+" Users",0;
sleep 1000;
}
end;

did you see the different ?

i told you in the previous post ~ your checking process is not repeated..so it keep show 0...the status is not updated...

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