20.10.2016, 13:43
Quote:
(??) I'm rank 35 on the DB, (I've created these ranks and these thinks with some users on my PC) so I should be the number 1 (1. _Ner0x[JMPR] - Rank: 35)
Now it's not working lol: |
try this
PHP код:
rows = db_num_rows(result);
for (new a; a < rows; a++,db_next_row(result))
{
db_get_field(result, 0, player_name, sizeof player_name);
format(rank_info, sizeof(rank_info), "%d. %s - Rank: %d", a + 1, player_name, db_get_field_int(result, 1));
// client message
}