28.07.2012, 09:40
I think you do not understand me, so let me explain more.
In the database in 1 field i have saved a string "Row1\nRow2\nRow3", it's exactly like that.
In the script i have made like this:
I have also tried to print the text in the console to be sure if it's the right one and it prints exactly like it is saved in database (that's normal), but why in dialog it doesn't show how it should?
In the database in 1 field i have saved a string "Row1\nRow2\nRow3", it's exactly like that.
In the script i have made like this:
Код:
new text[100]; mysql_query("SELECT `sometext` FROM `blablabla` WHERE `Something` = 5415"); mysql_store_result(); if(mysql_num_rows() == 1) mysql_fetch_row(text); mysql_free_result(); ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Dialog",text,"Accept", "Back");