11.05.2013, 19:40
I've deduced that the problem is from inserting the spam at non-existent lengths (i.e inserting "alfafphabbb" (11 chars) at starting position of 5, when the original string was "hey" (3 chars). I'm going to try something like this to fix:
Edit: I believe I've fixed it with arguably an even better method than both of my previous attempts!
pawn Код:
strins(str3,str2,strlen(str3)-5,sizeof(str2));
pawn Код:
strins(str3,str2,random(strlen(text)),sizeof(str3));