I cant compile pls help.
#1

Код:
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18240) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18240) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18343) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18343) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18511) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18511) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18519) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18519) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18526) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18526) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18565) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18565) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18583) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18583) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18591) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18591) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18647) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18647) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18676) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18676) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18684) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18684) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18691) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18691) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18700) : error 017: undefined symbol "strtok"
C:\Documents and Settings\GBLTeam\Desktop\cc\lslrp.pwn(18700) : error 033: array must be indexed (variable "tmp")

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Whats the problem?
Reply
#2

I think you have to download MySQL and Scanff, I guess...
Reply
#3

Just a hunch, it looks like you are missing the strtok method. Here it is:

Код:
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 that badboy into your code and see what happens.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)