[Ajuda] 5 Erro sistema de clг
#1

Com o sistema de clг do jim carrey ta dando os erro:


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);
Linha 342:

pawn Код:
tmp = strtok(cmdtext, idx);
new id;
if(!strlen(tmp))
Linha 507:

pawn Код:
tmp = strtok(cmdtext, idx);
                    new
                        Membron
                    ;
                    Membron = strval(tmp);
                    if(!strlen(tmp))
Linha 786 e 799:

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;
}
por favor me ajudem
Reply
#2

A strtok jб estб definida em seu GM/FS . E estб sendo definida novamente ...
Reply
#3

e agora?
Reply
#4

pawn Код:
new cmd,tmp[256],idx;
    cmd = strtok(cmdtext, idx);
Reply
#5

q isso ?
Reply
#6

Quote:
Originally Posted by Nayara._.
Посмотреть сообщение
q isso ?
Para voce adiciona no gm pow do lugar do erro '
Reply
#7

pow ? **
MIAS AONDE EU COLOko
Reply
#8

mude Issso
pawn Код:
new
        cmd[128], tmp[128], idx
    ;
    cmd = strtok(cmdtext, idx);
Para Isso
pawn Код:
new cmd,tmp[256],idx;
    cmd = strtok(cmdtext, idx);
e Compila pra ver
Reply
#9

deu 11 erros
Reply
#10

@Edit
pusta tava certo seu cmd --' nem percebi kk'

Oq Voce Ker Futuramente?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)