Jump to content
  • 0
Squall

char_id of all the players in a particular area

Question

3 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.