Little Help
#8

Quote:
Originally Posted by SanAndreasVille
Посмотреть сообщение
Код:
E:\pwn(1051) : error 017: undefined symbol "cmd"
E:\pwn(1051) : error 017: undefined symbol "tmp"
E:\pwn(1051) : error 017: undefined symbol "idx"
E:\pwn(1051) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
If you dont' have strtok put this at the end of file

Код:
stock 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;
}
Reply


Messages In This Thread
Little Help - by SanAndreasVille - 24.01.2011, 18:09
Re: Little Help - by HyperZ - 24.01.2011, 18:16
Re: Little Help - by SanAndreasVille - 24.01.2011, 18:28
Re: Little Help - by SanAndreasVille - 24.01.2011, 19:26
Re: Little Help - by SanAndreasVille - 25.01.2011, 14:23
Re: Little Help - by Ricop522 - 25.01.2011, 14:46
Re: Little Help - by SanAndreasVille - 25.01.2011, 17:42
Re: Little Help - by Sasino97 - 25.01.2011, 18:22
Re: Little Help - by SanAndreasVille - 25.01.2011, 18:26
Re: Little Help - by SanAndreasVille - 27.01.2011, 11:34

Forum Jump:


Users browsing this thread: 1 Guest(s)