Top15 Sorting From nVault
i have this method of getting data from nvault
Code:
and this is the top part of my top15 function for sorting part... atm it only sorts the CONNECTED players.. but i want it to sort the top15 from ALL players in the nvault Code:
anyone explain how i can achieve this ? |
Re: Top15 Sorting From nVault
|
Re: Top15 Sorting From nVault
Quote:
|
Re: Top15 Sorting From nVault
There's no other way to read all entries than nvault_util_readall().
|
Re: Top15 Sorting From nVault
Quote:
http://i.snapthat.net/S3zI.png and the code to get this is Code:
how do i edit it so i can use this in my Top15? Code:
|
Re: Top15 Sorting From nVault
ok now im using your method hornet... but still having no luck...
Code:
it appears like this. http://i.snapthat.net/2juk.png |
Re: Top15 Sorting From nVault
Yes I made a readability error in the example I wrote in the linked thread. PLAYER_RANK is the integer that the player's are ranked by. Meaning you could change PLAYER_RANK to something like PLAYER_SCORE for readability.
Therefore the integer you format in the Rank column should be i + 1 : Code:
You need to read what I said in the other thread about saving and reading the player's name. Also make motd array static. |
| All times are GMT -4. The time now is 10:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.