• 0
rakuzas

NPC Shows Online Player List

Question

Hello,

 

Does this kind NPX exist? Im looking for it but not found so far.. 

 

This NPC Works like this.. Each time player use it, it will shows current player on this server with their name.. Then, also can shows their map and job but in other category.. /thx

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Like this?

prontera,150,150,0    script    Sample    100,{


    query_sql "SELECT `name` , `class` FROM `char` WHERE `online` = '1'", [email protected]$, [email protected];
    mes "-----------------------------------";
    mes "Online Users: " + getusers(1);
    mes "-----------------------------------";
    for( set [email protected],0; [email protected] < getarraysize([email protected]$); set [email protected],[email protected] + 1)
        mes [email protected]$[[email protected]]+ " | Job: " +jobname([email protected][[email protected]]);
    mes "-----------------------------------";
    close;
}
  • Upvote 1
  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...