dialog problem
#7

Quote:
Originally Posted by PowerF
Посмотреть сообщение
But How do i make like this.

1)greatm8 || XP:696969

(adding number)
pawn Код:
new p_top[24],score,string[600],row[600];

mysql_query("SELECT playerName, playerXP FROM playerdata ORDER BY playerXP DESC Limit 10");
mysql_store_result();

new Count = 1;
while( mysql_fetch_row(row) ) {
    sscanf(row, "p<|>s[600]d",p_top,score);
    format(string, sizeof string, "%s%d) Top Player: %s | XP: %d\n", string, Count, p_top,score);
        Count++;
}

mysql_free_result();
ShowPlayerDialog(playerid, 108, DIALOG_STYLE_MSGBOX,"Top Players", string, "Close", "");
return 1;
Reply


Messages In This Thread
dialog problem - by PowerF - 18.08.2015, 07:29
Re: dialog problem - by LetsOWN[PL] - 18.08.2015, 10:59
Re: dialog problem - by PowerF - 18.08.2015, 14:04
Re: dialog problem - by DaniceMcHarley - 18.08.2015, 14:07
Re: dialog problem - by PowerF - 18.08.2015, 14:13
Re: dialog problem - by PowerF - 18.08.2015, 14:18
Re: dialog problem - by LetsOWN[PL] - 20.08.2015, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)