Squall 3 Posted September 10, 2014 Is there any way to get the char_id of all the players in a particular area x1, y1, x2, y2?Grateful. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted September 10, 2014 Not that I remember unless you use custom code. You can get all char IDs then check if they're on the same map and area you want. Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted September 10, 2014 http://herc.ws/board/topic/4593-getmemberaid-checkmes/ // return account_id of all online players within the specific coordinatesprontera,153,185,5 script AREA_coordinate 100,{ getmapxy .@map$, .@x, .@y, 0; detachrid; getmemberaid AREA, .@map$, .@x-1, .@y-1, .@x+1, .@y+1; for ( .@i = 0; .@i < $@onlinecount; .@i++ ) announce rid2name( $@onlineaid[.@i] ), bc_all; end;}.. why you need char_id instead of account_id ? because of *warpchar ? better just use *areawarp 1 Squall reacted to this Quote Share this post Link to post Share on other sites
0 Squall 3 Posted September 11, 2014 Yes "account_id" also works with, thanks! Quote Share this post Link to post Share on other sites
Is there any way to get the char_id of all the players in a particular area x1, y1, x2, y2?
Grateful.
Share this post
Link to post
Share on other sites