So I want to list 10 players who are in the top level ranking ,however this code only checks for level 99s, how do I make it so that it can also check for levels that are not 99 yet?
query_sql( "SELECT `base_level` FROM `char` WHERE `base_level` = 99",.@acclvl );
Because I need the NPC to display first 10 players to reach level 99 and if there is still none, it will display the highest level'd players (up to 10)
Question
Hijirikawa
So I want to list 10 players who are in the top level ranking ,however this code only checks for level 99s, how do I make it so that it can also check for levels that are not 99 yet?
query_sql( "SELECT `base_level` FROM `char` WHERE `base_level` = 99",.@acclvl );
Because I need the NPC to display first 10 players to reach level 99 and if there is still none, it will display the highest level'd players (up to 10)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.