Jump to content
  • 0
Sign in to follow this  
Alexandria

Top 10 zeny

Question

Hello there.

 

I know that Fluxcp has a zeny ranking but I need a NPC which displays the top 10 richest people in the server.

 

Any help would be great. Thank you!

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
prontera,100,100,4	script	Zeny Ranking	100,{	mes "[Zeny Ranking]";	mes "Top " + .MaxShow + " richest in the server:";	query_sql "select `name`,`zeny` from `char` where `zeny` > 0 order by `zeny` desc limit " + .MaxShow + "", .@name$, .@zeny;	for( .@i = 0; .@i < getarraysize(.@zeny); .@i++ )		mes "~ [.@i + 1] ~ " + .@name$[.@i] + " | Zeny: " + .@zeny[.@i] + "";	close;OnInit:	.MaxShow = 5;	end;}

Share this post


Link to post
Share on other sites
  • 0

Oh thank you. It is working now.

I think I found another bug. For some reason it doesnt update the zeny top after I typed @zeny 500. It keeps showing the previous amount.

Edited by Alexandria

Share this post


Link to post
Share on other sites
  • 0

 

Thank you but it has a bug.

 

JZQa1Qk.jpg

 

It display a ~ [.@i + 1] ~ before of the name.

 

Thank you

here.. i test it and working

http://pastebin.com/9QjrKiE2

sov69l.jpg

@ can you add for me also, Top 5 highest coins with this I.D #29997?

 

Thank you in Advance.

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
Sign in to follow this  

×
×
  • Create New...

Important Information

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