3d Text
#1

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?
Reply
#2

Try to make 2 strings
Reply
#3

isn't there any other way?
Reply
#4

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

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);
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)