SA-MP Forums Archive
[AJUDA]Warnings and Errors - 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]Warnings and Errors (/showthread.php?tid=134384)



[AJUDA]Warnings and Errors - hudsonramos10 - 16.03.2010

pawn Код:
Compilando COZZA2.pwn...
C:\Documents and Settings\Administrador\Desktop\Cozza\pawno\include\YSI/Visual/YSI_objects.own(3193) : warning 219: local variable "set" shadows a variable at a preceding level

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(680) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(691) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(703) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(712) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(724) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(733) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(745) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(756) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(768) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(779) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(792) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(798) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(798) : error 047: array sizes do not match, or destination array is too small

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(802) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(815) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(821) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(821) : error 047: array sizes do not match, or destination array is too small

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(825) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(838) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(844) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(844) : error 047: array sizes do not match, or destination array is too small

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(848) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(862) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(869) : error 017: undefined symbol "idx"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(879) : error 017: undefined symbol "PlayerName"

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(1802) : warning 203: symbol is never used: "ret_memcpy"

Pawn compiler 3.2.3664             Copyright (c) 1997-2006, ITB CompuPhase


25 Errors.

E Tbm Estou com Mt Errors e Warnins na tal de "cmd"

Estou ficando louco jб , alguйm pode me ajudar ?


Re: [AJUDA]Warnings and Errors - SlashPT - 16.03.2010

pawn Код:
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;
}



Re: [AJUDA]Warnings and Errors - hudsonramos10 - 16.03.2010

pawn Код:
Compilando COZZA2.pwn...
C:\Documents and Settings\Administrador\Desktop\Cozza\pawno\include\YSI/Visual/YSI_objects.own(3193) : warning 219: local variable "set" shadows a variable at a preceding level

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(800) : error 047: array sizes do not match, or destination array is too small

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(823) : error 047: array sizes do not match, or destination array is too small

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(846) : error 047: array sizes do not match, or destination array is too small

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(1811) : warning 203: symbol is never used: "ret_memcpy"

Pawn compiler 3.2.3664             Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Esteve a Diminuir a Quantidade ,


Re: [AJUDA]Warnings and Errors - SlashPT - 16.03.2010

mostra uma linha do PlayerName


Re: [AJUDA]Warnings and Errors - hudsonramos10 - 16.03.2010

, Modifiquei o Cуdigo , Pois Corrigi os Outros , Agora Sу me Restam Esses ! Acima !


Re: [AJUDA]Warnings and Errors - SlashPT - 16.03.2010

mostra as linhas... -.-


Re: [AJUDA]Warnings and Errors - hudsonramos10 - 16.03.2010

pawn Код:
Linha : 800   nick = strtok(cmdtext,idx);
Linha : 823   motivo = strtok(cmdtext,idx);
Linha : 846   motivo = strtok(cmdtext,idx);

C:\Documents and Settings\Administrador\Desktop\Cozza\pawno\include\YSI/Visual/YSI_objects.own(3193) : warning 219: local variable "set" shadows a variable at a preceding level

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(1811) : warning 203: symbol is never used: "ret_memcpy"
As Ultimas Nem Estгo no GM O_O


Re: [AJUDA]Warnings and Errors - SlashPT - 16.03.2010

motivo nick e assim somo estao os news deles??

pawn Код:
new nick;
??

ou
pawn Код:
new nick[256];



Re: [AJUDA]Warnings and Errors - hudsonramos10 - 16.03.2010

Obrigado Diminuiram os Warnings ,

pawn Код:
Compilando COZZA2.pwn...
C:\Documents and Settings\Administrador\Desktop\Cozza\pawno\include\YSI/Visual/YSI_objects.own(3193) : warning 219: local variable "set" shadows a variable at a preceding level

C:\DOCUME~1\ADMINI~1\Desktop\Cozza\GAMEMO~1\COZZA2.pwn(1811) : warning 203: symbol is never used: "ret_memcpy"

Pawn compiler 3.2.3664             Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.
Ficaram Esses ,


Re: [AJUDA]Warnings and Errors - SlashPT - 16.03.2010

no topo

pawn Код:
#pragma unused ret_memcpy
o outro so mudado os
pawn Код:
set
por exemplo muda para
pawn Код:
set1
e tenta de novo