Jump to content
  • 0
Takizuki

PvP Warper with Player Counts

Question

Hi i have this pvp warper but can anyone add a features that show counts of players in the pvp area?

 

if possible the counts will be shown as Pub like "Player Counts [5]"

 

if not possible any ways that can show player counts inside pvp area....

 

here's my pvp warper script

 

prontera,147,174,6	script	PVP Warper	419,{                mes "[Pvp Warper]";                mes "Would You Like to Join atRO Pvp Arena";                next;                menu "PvP Arena",ranking,"Cancel",Cancel;               		ranking:                   mes "[Pvp Warper]";                   mes "PvP Ranking Arena will give you ^ff00001 Points^000000 for killing your Opponent and will add to PvP Ladder";		   next;                   mes "Are You Ready?";                   menu "Yes",yes2,"Cancel",Cancel;                                      yes2:                   warp "guild_vs2",0,0;                   announce "[Pvp Warper]: "+strcharinfo(0)+" Has Enter PvP Ranking Arena come and Kill him!",bc_all,0xFF9500;                   close;		Cancel:                   mes "[Pvp Warper]";                   mes "Wah !! So Fast u're Surrender";                   next;                   mes "See You Again";                   next;                   emotion e_pif;                   close;OnClock2100:	enablenpc "PVP Warper";	end;	//OnInit:OnClock2000:	disablenpc "PVP Warper";	end;}morocc.gat,163,97,4	duplicate(PVP Warper)	PVP Warper#p1-2	419geffen.gat,111,63,4	duplicate(PVP Warper)	PVP Warper#p1-3	419geffen.gat,111,63,4	duplicate(PVP Warper)	PVP Warper#p1-4	419payon.gat,169,229,4	duplicate(PVP Warper)	PVP Warper#p1-5	419alberta.gat,188,149,4	duplicate(PVP Warper)	PVP Warper#p1-6	419izlude.gat,138,110,4	duplicate(PVP Warper)	PVP Warper#p1-7	419aldebaran.gat,144,123,4	duplicate(PVP Warper)	PVP Warper#p1-8	419xmas.gat,142,126,4	duplicate(PVP Warper)	PVP Warper#p1-9	419comodo.gat,207,152,4	duplicate(PVP Warper)	PVP Warper#p1-10	419hugel.gat,102,149,4	duplicate(PVP Warper)	PVP Warper#p1-11	419
Edited by pxl028

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
*getmapusers("<map name>")This function will return the number of users currently located on the specified map.Currently being used in the PVP scripts to check if a PVP room is full of not, if the number returned it equal to the maximum allowed it will not let you enter.---------------------------------------*getareausers("<map name>",<x1>,<y1>,<x2>,<y2>)This function will return the count of connected characters which are located within the specified area - an x1/y1-x2/y2 square - on the specified map.This is useful for maps that are split into many buildings, such as all the "*_in" maps, due to all the shops and houses.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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