How does this 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: How does this work...? (
/showthread.php?tid=218397)
How does this work...? -
Antonio [G-RP] - 30.01.2011
I've been doing some research into textdraws, and I wanted to know how to make it so...
If you have a line that goes beyond a point, it automatically cuts down to the next line.
I.E. (WITHOUT THE ...., they are HOLDING THE (*'s) back)
~~~~~~~~~~~
*Hello, welcome.*
*to the server...*
*Billy Adams......*
~~~~~~~~~~~
(That is a TextDraw Box, I know it looks wierd)
Re: How does this work...? -
PeteShag - 30.01.2011
I didn't really get you but if you mean, you want to use space's try using \t
Re: How does this work...? -
Antonio [G-RP] - 30.01.2011
I've no way to explain it. I mean, theres a determined space in which you can have a line.
Say its 20 characters each row (side to side)
and your message is 60 characters, . I want that to automatically put it as 3 lines.
Re: How does this work...? -
Kitten - 30.01.2011
your meaning this?
goes like
Welcome to Blah Server!
You Are rank blah
your account name blah ?
Re: How does this work...? -
randomkid88 - 30.01.2011
Don't know how to do that off the top of my head. I'd just use /n.
Re: How does this work...? -
Kwarde - 30.01.2011
Ain't this automatic?
Re: How does this work...? -
Antonio [G-RP] - 30.01.2011
You could use \n, yes. But I want it to do it automatically if the line is too long.
Re: How does this work...? -
ricardo178 - 30.01.2011
I understund,.... Whn you talk in a chat ins amp server, if you write a big sentece he want that when you write for esample more teh 10 caracther(thats changable) you automatic write in othe rline EX:
You Write: Hello I am trying to script this bla bзla bla bla bla
And it shows:
Hello I Am trying to script
this blablablabla