C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(198) : error 017: undefined symbol "ret_mempcy" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22079) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22079) : error 033: array must be indexed (variable "cmd") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22129) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22129) : error 033: array must be indexed (variable "tmp") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22195) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22195) : error 033: array must be indexed (variable "tmp") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22336) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22336) : error 033: array must be indexed (variable "tmp") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22370) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22370) : error 033: array must be indexed (variable "tmp") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22506) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22506) : error 033: array must be indexed (variable "tmp") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22578) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22578) : error 033: array must be indexed (variable "tmp") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22603) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22603) : error 033: array must be indexed (variable "tmp") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22610) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22610) : error 033: array must be indexed (variable "tmp") C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22636) : error 017: undefined symbol "strtok" C:\Users\Alecs\AppData\Local\Temp\fz3temp-1\CG.pwn(22636) : error 033: array must be indexed (variable "tmp")
#pragma unused ret_memcpy
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;
}
I put these 2 works or you have it on?
pawn Код:
pawn Код:
Strock use |
Posting up pure fixes without any "need" for reading, doesn't teach people anything except copy and paste.
The problem is his code, and he needs to read it to find it, and to fix it he must know how to script. By doing it for him, you end up with a "scripter" who can't read code, nor write it. |