[Ajuda] Como arrumar estes arros - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Como arrumar estes arros (
/showthread.php?tid=633630)
Como arrumar estes arros -
Linux17 - 04.05.2017
admin.pwn(1870) : error 021: symbol already defined: "strtok"
admin.pwn(1884) : error 047: array sizes do not match, or destination array is too small
Код:
strtok(const string[], &index)
linha:1870 {
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;
linha: 1884 return result;
}
Re: Como arrumar estes arros -
CZ - 04.05.2017
Delete a stock.
Respuesta: Re: Como arrumar estes arros -
Linux17 - 04.05.2017
Quote:
Originally Posted by CZ
Delete a stock.
|
Quando eu deleto ela compila mas se eu entro no sv e uso um comando tipo de admin fica como se o FS nгo estivesse carregado, tipo o login ainda fica funcionando mas os cmds de admin nгo.
Re: Como arrumar estes arros -
LosHermanos - 04.05.2017
Sнmbolo jб definido.
Vocк jб tem 1 outra strtok em seu GM.
Re: Respuesta: Re: Como arrumar estes arros -
CZ - 04.05.2017
Quote:
Originally Posted by Linux17
Quando eu deleto ela compila mas se eu entro no sv e uso um comando tipo de admin fica como se o FS nгo estivesse carregado, tipo o login ainda fica funcionando mas os cmds de admin nгo.
|
Vocк tem que se setar como admin pra usar o comando.