Jump to content
  • 0

Count players on specific map coordinates?


Hello is it possible to count all players inside a given coordinates? something like an areawarp but instead of warping all players it will return how many players is inside the given coordinates?

something like countplayersoncoords "prontera",173,188,140,156;

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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


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

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.