Alexandria 53 Posted September 7, 2015 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! Quote Share this post Link to post Share on other sites
0 Gerz 7 Posted September 7, 2015 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;} Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted September 7, 2015 Thank you but it has a bug. It display a ~ [.@i + 1] ~ before of the name. Thank you Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted September 7, 2015 (edited) 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 September 7, 2015 by Alexandria Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted September 7, 2015 In my server takes exactly 5 minutes to update but I think its okay. Thank you! Quote Share this post Link to post Share on other sites
0 REKT 10 Posted September 7, 2015 Thank you but it has a bug. It display a ~ [.@i + 1] ~ before of the name. Thank you here.. i test it and working http://pastebin.com/9QjrKiE2 @ can you add for me also, Top 5 highest coins with this I.D #29997? Thank you in Advance. Quote Share this post Link to post Share on other sites
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