[Ajuda] Erro ao copilar
#1

ERRO:

Код:
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "second" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "day" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "month" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "year" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(19194) : error 021: symbol already defined: "strtok"
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(19208) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20638) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20651) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20692) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20700) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20746) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20772) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21088) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21126) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21164) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21548) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22052) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22135) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22165) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22170) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22188) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22196) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22243) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22252) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22309) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22401) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22410) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22468) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22569) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22577) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
GM: (o pastebin nгo aceitou o tamanho do GM) DL: http://vinicius.eu5.org/SA-MP/GM/BSG2.rar
Agradeзo quem puder me ajudar.
OBS: to usando esse GM pra jogar aki na minha lan, e nгo entendo quase nada sobre pawno.
Reply
#2

pawn Код:
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "second" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "day" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "month" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "year" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(19194) : error 021: symbol already defined: "strtok"
Variбveis jб definidas, porйm pode deleta-las.

pawn Код:
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(19208) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20638) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20651) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20692) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20700) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20746) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20772) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21088) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21126) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21164) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21548) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22052) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22135) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22165) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22170) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22188) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22196) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22243) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22252) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22309) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22401) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22410) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22468) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22569) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22577) : error 047: array sizes do not match, or destination array is too small
Erro de Funзгo sem Array, Exemplo > [playerid] [MAX_PLAYERS]...

Ou Tambйm, pode ser um simples Erro de chave Faltando...
Reply
#3

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "second" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "day" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "month" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "year" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(19194) : error 021: symbol already defined: "strtok"
Variбveis jб definidas, porйm pode deleta-las.

pawn Код:
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(19208) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20638) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20651) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20692) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20700) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20746) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20772) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21088) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21126) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21164) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21548) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22052) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22135) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22165) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22170) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22188) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22196) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22243) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22252) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22309) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22401) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22410) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22468) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22569) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22577) : error 047: array sizes do not match, or destination array is too small
Erro de Funзгo sem Array, Exemplo > [playerid] [MAX_PLAYERS]...

Ou Tambйm, pode ser um simples Erro de chave Faltando...
Traduz para o portuguкs-'
Reply
#4

O portuguкs dele foi claro, vocк que nгo soube prestar atenзгo. Desinteressado pra krl.
Reply
#5

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "second" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "day" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "month" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "year" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(19194) : error 021: symbol already defined: "strtok"
Variбveis jб definidas, porйm pode deleta-las.

pawn Код:
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(19208) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20638) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20651) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20692) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20700) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20746) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(20772) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21088) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21126) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21164) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(21548) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22052) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22135) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22165) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22170) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22188) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22196) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22243) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22252) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22309) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22401) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22410) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22468) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22569) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vinicius\Desktop\GM BSC\gamemodes\BSG2.pwn(22577) : error 047: array sizes do not match, or destination array is too small
Erro de Funзгo sem Array, Exemplo > [playerid] [MAX_PLAYERS]...

Ou Tambйm, pode ser um simples Erro de chave Faltando...
Chaves sгo erros intercalados, nгo sгo os mesmo varias vezes.. Esse erro: error 047: array sizes do not match, or destination array is too small, Exemplo:
pawn Код:
new Tal[5]; //Declarou 5.
Tal = "SouFoda"; //Ta usando 8.
Reply
#6

Quote:
Originally Posted by paulor
Посмотреть сообщение
Chaves sгo erros intercalados, nгo sгo os mesmo varias vezes.. Esse erro: error 047: array sizes do not match, or destination array is too small, Exemplo:
pawn Код:
new Tal[5]; //Declarou 5.
Tal = "SouFoda"; //Ta usando 8.
Sim paulo, foi o que eu comentei, й falta de array, ou array's pequenas na variбvel, erros de chave disse que poderia ser uma outra excessгo para ser 26 erros. Nesse caso nгo й.
Reply
#7

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
Sim paulo, foi o que eu comentei, й falta de array, ou array's pequenas na variбvel, erros de chave disse que poderia ser uma outra excessгo para ser 26 erros. Nesse caso nгo й.
Sim, й que o mбximo de erros do pawno й 26, entгo nem sempre й falta de chaves"
Reply
#8

Quote:
Originally Posted by Edu33
Посмотреть сообщение
O portuguкs dele foi claro, vocк que nгo soube prestar atenзгo. Desinteressado pra krl.
Nгo й desinteresse mano, como disse no topco nгo sei nada da linguagem pawno.
-------------------------------------------------------------------------------
@PAULOR
@.FuneraL.
Vlw pela ajuda
Reply
#9

Код:
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "second" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "day" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "month" shadows a variable at a preceding level
C:\Users\Vinicius\Desktop\Ultilitarios\GTA\Pawno\include\dutils.inc(45) : warning 219: local variable "year" shadows a variable at a preceding level
troca o nomes da variaveis ai
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)