13.03.2013, 14:15
Well, since there's no other option.. Basically, it's this textdraw string I don't want a scripter to exceed by 33 characters which I need to check. I tried inserting the newline character after the 33rd character, but it messed up the if the scripter had used it before the 33rd character. I guess I'll use a loop like:
It's a typing problem here, so try to understand what I am conveying ! This should work, yes?
pawn Код:
for ( new i; .. ) { if(strfind ( string.. '~' && ch[i+1] == n && ch [i+2] == '~') break, else strins ( deststr, ''~n~'', 33)