Dialog LIST question. (MySQL)
#5

Oh yea, anyone who can help me on this:

pawn Код:
format(string,256,"SELECT * FROM `mail` WHERE `Receiver` = '%s'",owner);
                mysql_query(string);
                mysql_store_result();
            mysql_fetch_row(row);
                split(row, mailboxlaptop, '|');
Let's say theres 2 rows where Receiver is "owner"

I then want like my dialog to like show both on a DIALOG_STYLE_LIST with each a \n so they go like let's say row 1 is with text: Hello, and row 2 is with text: lol then it would actually show like this:

ShowPlayerDialog(playerid,543543,DIALOG_STYLE_LIST ,"Something","Hello\nlol","Something","Something") ;
Instead of doing such I want a more dynamic way which means I'm trying to make it load it from mysql and then make the showplayer dialog

Anybody who can think of a way?
Reply


Messages In This Thread
Dialog LIST question. (MySQL) - by oliverrud - 19.06.2010, 19:58
Re: Dialog LIST question. (MySQL) - by Antonio [G-RP] - 19.06.2010, 20:04
Re: Dialog LIST question. (MySQL) - by oliverrud - 19.06.2010, 20:25
Re: Dialog LIST question. (MySQL) - by Antonio [G-RP] - 19.06.2010, 20:28
Re: Dialog LIST question. (MySQL) - by oliverrud - 19.06.2010, 20:35

Forum Jump:


Users browsing this thread: 1 Guest(s)