Line Breake (/n) don't work - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Line Breake (/n) don't work (
/showthread.php?tid=139838)
Line Breake (/n) don't work -
XCarBOn - 06.04.2010
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.
Re: Line Breake (/n) don't work -
Beaver07 - 06.04.2010
did you try \n ?
Re: Line Breake (/n) don't work -
andmeida10 - 06.04.2010
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
Re: Line Breake (/n) don't work -
XCarBOn - 06.04.2010
Lol, you`re right xD It's not /n.. It's \n. Great, I'm stupid