gleynn Posted September 14, 2013 Posted September 14, 2013 how to get mapusers in a certain area? Quote
Patskie Posted September 14, 2013 Posted September 14, 2013 http://rathena.org/wiki/getmapusers Quote
gleynn Posted September 14, 2013 Author 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
GmOcean Posted September 14, 2013 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
gleynn Posted September 14, 2013 Author Posted September 14, 2013 thanks for your help sir Patskie and sir GmOcean Quote
Question
gleynn
how to get mapusers in a certain area?
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.