12.07.2018, 14:33
Hello, I was woundering how to use a textdraw to continuously add a new line.
For example
new Text
efaultLine,NewUserInputTEXT;
DefaultLine = TextDrawCreate(455.000000, 170.000000, "REMARKS");
format(NewUserInputTEXT, sizeof(NewUserInputTEXT), "\n%s", input);
TextDrawSetString(Defaultline, NewUserInputTEXT);
output: REMARKS
Hello there
Sad
Fam
the output is what i wanted to see in the textdraw, but when i am trying i am only getting 1 user's input in there, only one input.
please assist.
For example
new Text
![Cheesy](images/smilies/biggrin.png)
DefaultLine = TextDrawCreate(455.000000, 170.000000, "REMARKS");
format(NewUserInputTEXT, sizeof(NewUserInputTEXT), "\n%s", input);
TextDrawSetString(Defaultline, NewUserInputTEXT);
output: REMARKS
Hello there
Sad
Fam
the output is what i wanted to see in the textdraw, but when i am trying i am only getting 1 user's input in there, only one input.
please assist.