03.09.2012, 12:55
Com o sistema de clг do jim carrey ta dando os erro:
Linha 112:
Linha 342:
Linha 507:
Linha 786 e 799:
por favor me ajudem
pawn Код:
C:\Documents and Settings\Nayara\Meus documentos\Downloads\FSgang.pwn(112) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Nayara\Meus documentos\Downloads\FSgang.pwn(342) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Nayara\Meus documentos\Downloads\FSgang.pwn(507) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Nayara\Meus documentos\Downloads\FSgang.pwn(786) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Nayara\Meus documentos\Downloads\FSgang.pwn(799) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Linha 112:
pawn Код:
new
cmd[128], tmp[128], idx
;
cmd = strtok(cmdtext, idx);
pawn Код:
tmp = strtok(cmdtext, idx);
new id;
if(!strlen(tmp))
pawn Код:
tmp = strtok(cmdtext, idx);
new
Membron
;
Membron = strval(tmp);
if(!strlen(tmp))
pawn Код:
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index,result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}