Jump to content
  • 0

mapusers in a certain area


Question

4 answers to this question

Recommended Posts

Posted

I think, Patskie just accidentally linked the wrong command:


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

i've checked that already sir but i want to know how to use that command if i want to get the number of players in an area within a map. for example

 

number of players inside the coords of

XY1 and X2Yin a map

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