C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(25115) : error 021: symbol already defined: "strtok" C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(25130) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(26655) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(26715) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(26768) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(27436) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(27495) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28176) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28204) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28215) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28275) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28544) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28571) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28601) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28609) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28643) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28651) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28684) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28729) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28792) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28850) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28858) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28893) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(28901) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(29128) : error 047: array sizes do not match, or destination array is too small C:\Users\harvey\Desktop\Server test\gamemodes\larp.pwn(29182) : error 047: array sizes do not match, or destination array is too small Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
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;
}
error 021: symbol already defined: "strtok"
|
Код:
error 021: symbol already defined: "strtok" |