gleynn Posted September 14, 2013 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 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 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 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 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...
how to get mapusers in a certain area?
Link to comment
Share on other sites