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:
iLen += format( motd[ iLen ], ( charsmax( motd ) ) - iLen,"%-5.5d %-22.22s %d^n", i + 1, ArrayData[ PLAYER_NAME ], ArrayData[ PLAYER_RANK ] );
You need to read what I said in the other thread about saving and reading the player's name.
Also make motd array static.
__________________