Textdraws Won't Make New Line! - 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)
+--- Thread: Textdraws Won't Make New Line! (
/showthread.php?tid=558437)
Textdraws Won't Make New Line! -
danish007 - 17.01.2015
Hello, i''ve created textdraw for /aka command so i want to make new line if there are too much player names..
look at this.
just give me an example that how can i make new line if there is too much player names and going out of the textdraw box.
Re: Textdraws Won't Make New Line! -
ATGOggy - 17.01.2015
Add a variable 'count' and for each name, do count++;
if(count>5)
{
//create another td
}
Re: Textdraws Won't Make New Line! -
danish007 - 17.01.2015
Quote:
Originally Posted by ATGOggy
Add a variable 'count' and for each name, do count++;
if(count>5)
{
//create another td
}
|
An example to make newline? Instead of new TD
Re: Textdraws Won't Make New Line! -
JeaSon - 17.01.2015
use ~n~ means new line
example
Re: Textdraws Won't Make New Line! -
danish007 - 17.01.2015
Quote:
Originally Posted by Namer
use ~n~ means new line
example
|
Ehh? Please look on my td. I know that man
i only want to know how can i make new line if names are going out of the box.
Re: Textdraws Won't Make New Line! -
JeaSon - 17.01.2015
can you show the code where you get player names and also td
Re: Textdraws Won't Make New Line! -
danish007 - 17.01.2015
I get player names in file. Aka.txt
TD are same like others.
cant show code now on mobile. Thats why i just asked for example.
Just give me example with any TD. I'll make mine your example