07.03.2015, 17:47
Almost, just
1) The name comes after place, so swap "sendername, place+1"
2) This fetches the name of player who called this command, you don't want that. Instead in GetPlayerName change playerid to "playerOnlineTimes[place][0]".
3) You want MAX_PLAYER_NAME + 1, so it won't take away last letter in case someone has 24 characters in his name.
1) The name comes after place, so swap "sendername, place+1"
2) This fetches the name of player who called this command, you don't want that. Instead in GetPlayerName change playerid to "playerOnlineTimes[place][0]".
3) You want MAX_PLAYER_NAME + 1, so it won't take away last letter in case someone has 24 characters in his name.