How to detect \n when loading from SQL to string?
#1

Hello, I am loading the 3DText from table and i have linebreaks (\n) in it. But in the game, they just show up as a normal \n and dont linebreak. Do you have an idea on how to actually make them break the line?

The 3DText is just loaded to a new text[128] variable from mysql cache.
Reply


Messages In This Thread
How to detect \n when loading from SQL to string? - by czop1223 - 01.09.2016, 19:45
Re: How to detect \n when loading from SQL to string? - by Jefff - 01.09.2016, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)