Strins stopping all commands from processing?
#3

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:

pawn Код:
strins(str3,str2,strlen(str3)-5,sizeof(str2));
Edit: I believe I've fixed it with arguably an even better method than both of my previous attempts!
pawn Код:
strins(str3,str2,random(strlen(text)),sizeof(str3));
Reply


Messages In This Thread
Strins stopping all commands from processing? - by RedditWhiskers - 11.05.2013, 16:44
Re: Strins stopping all commands from processing? - by dominik523 - 11.05.2013, 17:22
Re: Strins stopping all commands from processing? - by RedditWhiskers - 11.05.2013, 19:40

Forum Jump:


Users browsing this thread: 1 Guest(s)