19.06.2010, 20:35
Oh yea, anyone who can help me on this:
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?
pawn Код:
format(string,256,"SELECT * FROM `mail` WHERE `Receiver` = '%s'",owner);
mysql_query(string);
mysql_store_result();
mysql_fetch_row(row);
split(row, mailboxlaptop, '|');
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?