10.04.2014, 12:08
Hey guys, I have a problem with SetDynamicObjectMaterialText.
The problem is, if I add text to script manually with new lines like "Test \n Text \n In multiple \n Rows" , all new lines are shown as they should like this:
Test
Text
In multiple
Rows
But if I make a command to parse parameters directly, or if I use dialog input, the text is shown but isn't split in multiple lines, it looks like this:
Test \n Text \n In multiple \n Rows
What is the problem ?
Temporary workaround that I found is to save the input string in mysql database (as I use it for saving server data), then load it again and then set it on objects.
The problem is, if I add text to script manually with new lines like "Test \n Text \n In multiple \n Rows" , all new lines are shown as they should like this:
Test
Text
In multiple
Rows
But if I make a command to parse parameters directly, or if I use dialog input, the text is shown but isn't split in multiple lines, it looks like this:
Test \n Text \n In multiple \n Rows
What is the problem ?
Temporary workaround that I found is to save the input string in mysql database (as I use it for saving server data), then load it again and then set it on objects.