Line Breake (/n) don't work
#1

Hello,

here's my code:

Код:
format(string, sizeof(string), "Business/nPrice: %i", Cost);
Create3DTextLabel(string, red, x, y, z, 30, 0, 1);
The problem is, when I see this text I don't see the line break ("/n"). Where's the problem? I can't fix it
I tried "~n~" too, but nothing change.
Reply
#2

did you try \n ?
Reply
#3

Quote:
Originally Posted by XCarBOn
Hello,

here's my code:

Код:
format(string, sizeof(string), "Business/nPrice: %i", Cost);
Create3DTextLabel(string, red, x, y, z, 30, 0, 1);
The problem is, when I see this text I don't see the line break ("/n"). Where's the problem? I can't fix it
I tried "~n~" too, but nothing change.
Isn't /n, but \n
Reply
#4

Lol, you`re right xD It's not /n.. It's \n. Great, I'm stupid
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)