15.05.2016, 11:57
Do you mean to copy the text from inputtext to a new variable (string)?
and then:
pawn Код:
#if !defined strcpy
#define strcpy(%0,%1) strcat((%0[0] = EOS, %0), %1)
#endif
pawn Код:
// strpy(destination[], source[], size);
new tmp_inputtext[128]; // inputtext's max length can be 128
strcpy(tmp_inputtext, inputtext, sizeof tmp_inputtext);

