C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(798) : error 037: invalid string (possibly non-terminated string) C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(799) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4267) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4268) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4269) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4270) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4271) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4272) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4273) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4282) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4283) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4284) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(4281) : warning 204: symbol is assigned a value that is never used: "index" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5012) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5012) : error 033: array must be indexed (variable "cmd") C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5073) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5073) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5115) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5115) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5441) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5441) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5479) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5479) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5485) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5485) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5522) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Desktop\Brasil Games\gamemodes\CidadeDaLei.pwn(5522) : error 033: array must be indexed (variable "tmp")
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;
}
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;
}
C:\Documents and Settings\Administrador\Desktop\CidadeDaLei.pwn(799) : error 052: multi-dimensional arrays must be fully initialized C:\Documents and Settings\Administrador\Desktop\CidadeDaLei.pwn(21370) : error 030: compound statement not closed at the end of file (started at line 21250)
Consegui resolver uns erros agora sу restam estes 2, oque fasso ? :/
Код:
C:\Documents and Settings\Administrador\Desktop\CidadeDaLei.pwn(799) : error 052: multi-dimensional arrays must be fully initialized C:\Documents and Settings\Administrador\Desktop\CidadeDaLei.pwn(21370) : error 030: compound statement not closed at the end of file (started at line 21250) |