Jump to content
  • 0

Top 10 most #pvppoints


Question

Posted

I have a pvp system where every kill gives #pvppoint instead of cash points. This would be the basis of my pvp ladder.

Are there any scripts there that would show the top 10 players who has the most pvp points? tried to check mvp ladders but to no avail

2 answers to this question

Recommended Posts

  • 0
Posted
17 minutes ago, foenne524 said:

I have a pvp system where every kill gives #pvppoint instead of cash points. This would be the basis of my pvp ladder.

Are there any scripts there that would show the top 10 players who has the most pvp points? tried to check mvp ladders but to no avail

 

  • 0
Posted (edited)
39 minutes ago, Poring King said:

Thank you for that. is it possible that this query shows most #pvppoints instead of kills and death? i know there isn't much of a difference on both it's just that im using ghost pvp ladder and it uses KDR. i'm planning to add another npc that shows most #pvppoints

 

Spoiler

query_sql("SELECT `char_reg_num`.`value`,`char`.`name`,`char`.`char_id` FROM `char` INNER JOIN `char_reg_num` ON `char_reg_num`.`char_id`=`char`.`char_id` WHERE `char_reg_num`.`key`='" + .@key$ + "' ORDER BY `char_reg_num`.`value` DESC LIMIT 10",.@value,.@name$,.@cid);
            if(!(.Options&256)){
                for(.@i = 0; .@i < getarraysize(.@cid); .@i++) {
                    if(.@i == 2){
                        if(.Options&128)
                            .@key$ = "m_dthcount";
                        else    .@key$ = "pl_dthcount";

 

Edited by foenne524

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...