gleynn Posted September 14, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 63 Reputation: 2 Joined: 08/10/12 Last Seen: December 31, 2022 Share Posted September 14, 2013 how to get mapusers in a certain area? Quote Link to comment Share on other sites More sharing options...
GmOcean Posted September 14, 2013 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted September 14, 2013 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. Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 14, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: November 10, 2024 Share Posted September 14, 2013 http://rathena.org/wiki/getmapusers Quote Link to comment Share on other sites More sharing options...
gleynn Posted September 14, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 63 Reputation: 2 Joined: 08/10/12 Last Seen: December 31, 2022 Author Share Posted September 14, 2013 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 X1 Y1 and X2Y2 in a map Quote Link to comment Share on other sites More sharing options...
gleynn Posted September 14, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 63 Reputation: 2 Joined: 08/10/12 Last Seen: December 31, 2022 Author Share Posted September 14, 2013 thanks for your help sir Patskie and sir GmOcean Quote Link to comment Share on other sites More sharing options...
Question
gleynn
how to get mapusers in a certain area?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.