[Ajuda] Log Grande
#1

Код:
	new findsub,subzeropos,subzero[50],sz[128],string[128],gangnum = playerGang[playerid];
	format(sz,128,"%s",text);
	while(subzeropos<=strlen(sz))
	{
	    for(new d=0;d<MAX_PALAVRAS_SZ;d++)
	    {
	        findsub=strfind(sz,PPalavras[d],true,subzeropos);
	        if(findsub!=-1&&findsub==subzeropos)
	        {
				strdel(sz,findsub,findsub+strlen(PPalavras[d]));
				for(new h=0;h<strlen(PPalavras[d]);h++)
				{
					strcat(subzero,"*");
				}
				strins(sz,subzero,findsub,256);
				strdel(subzero,0,strlen(subzero));
	        }
	    }
	    subzeropos++;
	}
esse code acima bem no inнcio do OnPlayerText pode gerar um log de 16 gigas?
Reply


Messages In This Thread
[Ajuda] Log Grande - by cotonete - 02.11.2011, 13:46
Re: [Ajuda] Log Grande - by ViniBorn - 02.11.2011, 13:53
Re: [Ajuda] Log Grande - by Macintosh - 02.11.2011, 13:54
Re: [Ajuda] Log Grande - by cotonete - 02.11.2011, 14:01
Re: [Ajuda] Log Grande - by Macintosh - 02.11.2011, 14:10
Re: [Ajuda] Log Grande - by cotonete - 02.11.2011, 14:17
Re: [Ajuda] Log Grande - by ViniBorn - 02.11.2011, 14:17
Re: [Ajuda] Log Grande - by Ricop522 - 02.11.2011, 14:22

Forum Jump:


Users browsing this thread: 1 Guest(s)