07.02.2012, 00:00
So, something like...
Should work? (Very crude)
pawn Код:
new lines = 0;
for( new i; i < 255; i++)
{
new Str[128];
format(Str, sizeof(Str), DIALOG_TEXT_REASONS);
if(strfind(Str, "\n", true) != -1) { lines++; }
printf("lines: %d", lines);
}