22.02.2018, 02:05
Quote:
that pawno isn't working, is there a way to edit that line into two lines?
|
You need a buffer array to temporarily assemble the string.
Eg.
Код:
new text[500]; strcat(text, "Text 1 ..."); strcat(text, "Text 2 ...");
If you need to format the texts (like in this case) you should do it like this:
Код:
new text[500]; format(text, sizeof(text), "Text 1 %d %f", var1, var2); format(text, sizeof(text), "%sText2 %d %f", text, var3, var4);