Problem with the compiling
#1

C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11281) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11281) : error 033: array must be indexed (variable "cmd")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11294) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11294) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11327) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11327) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11451) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11451) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11474) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11474) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11495) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11495) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(1151 : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(1151 : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11526) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11526) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11552) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11552) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11560) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11560) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11584) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11584) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11784) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11784) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11951) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Ben\Desktop\moverp1.pwn(11951) : error 033: array must be indexed (variable "tmp")
Reply
#2

removed :P
Reply
#3

Quote:
Originally Posted by D4mned
youre missing an bracket.
Are you sure? I think he always forgot to give tmp an index. That's how it looks to me.
Reply
#4

Quote:
Originally Posted by DeathOnaStick
Quote:
Originally Posted by D4mned
youre missing an bracket.
Are you sure? I think he always forgot to give tmp an index. That's how it looks to me.
lol read its just strtok missing... plus of course tmp...
Reply
#5

Quote:
Originally Posted by DeathOnaStick
Quote:
Originally Posted by D4mned
youre missing an bracket.
Are you sure? I think he always forgot to give tmp an index. That's how it looks to me.
nope,im newbie i just guessed
Reply
#6

But what i have to do please help me
Reply
#7

Search for a function called strtok and paste it in your script
Reply
#8

i found the function but to where copy it into the mode?

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


Forum Jump:


Users browsing this thread: 1 Guest(s)