22.08.2016, 21:00
Stinged told you that you can't use sizeof with inputtext or an array without a size in general. Make another string and copy the text stored:
and then you can use strcat and join any text you want to "input_text" string. I'm not really sure if you meant to add 3 dots or it was just an example but if the text you are trying to "join" is constant, then you don't need to declare a string just for that.
After done all that, use "input_text" in PlayerTextDrawSetString function.
pawn Код:
#if !defined strcpy
#define strcpy(%0,%1) strcat((%0[0] = EOS, %0), %1)
#endif
pawn Код:
static input_text[129];
strcpy(input_text, inputtext);
pawn Код:
strcat(input_text, "...");