[AJUDA]Warnings and Errors
#1

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 ?
Reply
#2

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;
}
Reply
#3

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 ,
Reply
#4

mostra uma linha do PlayerName
Reply
#5

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

mostra as linhas... -.-
Reply
#7

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
Reply
#8

motivo nick e assim somo estao os news deles??

pawn Код:
new nick;
??

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

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 ,
Reply
#10

no topo

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


Forum Jump:


Users browsing this thread: 1 Guest(s)