How to make /description command :D
#1

So i would like to know how to make a /description command, that will attach 3dtextlabel to player with text he wrote. I've founded a tutorial in my own language, but it creates whole text in one line like this:
Blalblabalblabalbalbalbablalblablablablalbalblabla lbalblablablalbalblablablalbal

instead of:

Blablablablab
blablablablalblabl
blablablabla
blablablalbalba.

Any help?
Reply
#2

You can use \n to start a new line.
Example:
Code:
FirstLine\nSecondLine\nThirdLine
In game it will looks like:
Code:
FirstLine
SecondLine
ThirdLine
Reply
#3

/n works with 3dtextlabels too?
Reply
#4

Thank's i'll try it out
Reply
#5

Could i get that coding from you? it sounds useful.

Thanks!
Reply
#6

You can use SetPlayerChatBubble. It's easier than create text labels and that stuff.
Reply
#7

Quote:
Originally Posted by Kevin_Joshen
View Post
Could i get that coding from you? it sounds useful.

Thanks!
If i succes i'll pm it to you

EDIT:
I think bubbles won't do same Or maybe.... I'll try it
Reply
#8

Quote:
Originally Posted by sekol
View Post
If i succes i'll pm it to you

thanks!
Reply
#9

How to use "\n" on
Code:
%s
?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)