29.08.2016, 17:19
What you can do is use special characters to represent \n and \t
For examplle, # for \n and $ for \t
And then once you have them stored, use this:
For examplle, # for \n and $ for \t
And then once you have them stored, use this:
pawn Code:
new i;
while (string[i++] > '\0')
{
if (string[i] == '#')
string[i] = '\n';
else if (string[i] == '$')
string[i] = '\t';
}