Jump to content
  • 0

PvP Top 10 NPC!


Hercules

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  104
  • Reputation:   1
  • Joined:  05/04/12
  • Last Seen:  

I want to have a NPC to my server /hmm

that will display the PLAYERS who has the most gained CASHPOINTS!!

(Why Cashpoints? --> Because I set the Cashpoints as the PvP Points and each time a player in the PVP ARENA kill a player he/she will gain points)...

But even the CASHPOINTS decreased or spent,The points displayed on the NPC does not change..

The NPC only count all the CASHPOINTS inquired by the player.

And it will display 1st - 10th players who gained PVP POINTS / CASHPOINTS ..

Please help me guys!! Thank YOU!! /thx

Edited by skypirate
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

But even the CASHPOINTS decreased or spent,The points displayed on the NPC does not change..

You'll need 2 variables, something for kills along with #CASHPOINTS. Then do an SQL query (order desc, limit 10) to get the players with the highest variables.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  104
  • Reputation:   1
  • Joined:  05/04/12
  • Last Seen:  

I don't know how to script sir,sorry.. /sry

BUMP!! I need it sir... /sob

Link to comment
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.

×
×
  • Create New...