SA-MP Forums Archive
3d Text - 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: 3d Text (/showthread.php?tid=240677)



3d Text - Sascha - 16.03.2011

Hi...
I'm reading 3Dtexts for vehicles from a mysql db...
and in the DB it is saved as text... "Example\nHahaha"...
So as label it should show:
"Example
Hahaha"
however it shows "Example\nHahaha" as label, too?
what's wrong?


Re: 3d Text - Sasino97 - 16.03.2011

Try to make 2 strings


Re: 3d Text - Sascha - 16.03.2011

isn't there any other way?


Re: 3d Text - maramizo - 16.03.2011

Just make two strings lol.
\n doesn't work in Pawno, I don't think endl does either.


Re: 3d Text - The Woody - 16.03.2011

Quote:
Originally Posted by maramizo
Посмотреть сообщение
Just make two strings lol.
\n doesn't work in Pawno, I don't think endl does either.
I use this in pawno and it works fine.

pawn Код:
Create3DTextLabel("Blalala \n Type /Blalala",0x0080FFFF, 1558.1034,-1693.2919,5.8970, 10,0,1);



Re: 3d Text - maramizo - 16.03.2011

Quote:
Originally Posted by The Woody
Посмотреть сообщение
I use this in pawno and it works fine.

pawn Код:
Create3DTextLabel("Blalala \n Type /Blalala",0x0080FFFF, 1558.1034,-1693.2919,5.8970, 10,0,1);
Space between words then.
I really don't know how similiar Pawno is to other compilers like Dev.