The problem about the gang FS
#6

Код:
strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}
 
	new offset = index;
	new result[20];
	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}
Put this on the top of your script

Line 264:
new idx;

Delete this !

Tel me if it work's
Reply


Messages In This Thread
The problem about the gang FS - by Raphy - 21.07.2012, 17:43
Re: The problem about the gang FS - by WinterAce - 21.07.2012, 17:48
Re: The problem about the gang FS - by Raphy - 21.07.2012, 17:56
Re: The problem about the gang FS - by HB - 21.07.2012, 17:57
Re: The problem about the gang FS - by Raphy - 21.07.2012, 18:15
Respuesta: The problem about the gang FS - by farCry.xD - 21.07.2012, 18:48

Forum Jump:


Users browsing this thread: 3 Guest(s)