[AJUDA] Erros =/ [LEIAM] <-
#1

Код:
C:\Documents and Settings\Zina\Desktop\Arkivos SAMP\Samp\pawno\include\P-STREAMER\PSO\1.0#PSO_LIB\#PSO_ESTRUTURA\PSO_F.FFR(17) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
C:\Documents and Settings\Zina\Desktop\BGC.pwn(981) : error 018: initialization data exceeds declared size
C:\Documents and Settings\Zina\Desktop\BGC.pwn(13482) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Zina\Desktop\BGC.pwn(13497) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Zina\Desktop\BGC.pwn(17735) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\Documents and Settings\Zina\Desktop\BGC.pwn(18296) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Код:
Linha 981 -> new SVNAMES[4][256] = {
"[BGC] Brasil God City [RPG v1.0b]©",
"www.brasilgodcity.com",
"Brasil Cidade de Deus",
"[BGC] Brasil God City [RPG v1.0b]©",
};
Код:
Linha 13482 -> strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
Код:
 Linha 13497 -> 	result[index - offset] = EOS;
	return result;
}
Код:
 Linha 17735 ->
new mod = 100;
				tmp = strtok(cmdtext, idx);
				if(!strlen(tmp))
				{
Код:
Linha 18296 ->	    new x_nr[64], pname[20];
		x_nr = strtok(cmdtext, idx);
Reply
#2

Por favor me ajuda!!!
Reply
#3

Linha 981: O erro deve ser na anterior, isso estб correto.
Linha 13482: Apague isso, com cuidado para nгo apagar o que nao tem relaзгo.
Linha 13497: Apague, faz parte da stock strtok.
Linha 17735: Apague isso: new mod = 100;
Linha 18296: Altere: new x_nr[64] para x_nr[256]
Reply
#4

Quote:
Originally Posted by cynic
Посмотреть сообщение
Linha 981: O erro deve ser na anterior, isso estб correto.
Linha 13482: Apague isso, com cuidado para nгo apagar o que nao tem relaзгo.
Linha 13497: Apague, faz parte da stock strtok.
Linha 17735: Apague isso: new mod = 100;
Linha 18296: Altere: new x_nr[64] para x_nr[256]
Valeu Manolo!

Ainda ficou 2 Warn

Код:
C:\Documents and Settings\Zina\Desktop\Arkivos SAMP\Samp\pawno\include\P-STREAMER\PSO\1.0#PSO_LIB\#PSO_ESTRUTURA\PSO_F.FFR(17) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
C:\Documents and Settings\Zina\Desktop\BGC.pwn(17734) : warning 219: local variable "mod" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Obs.: Tentei apagar o new mod e deu 22 erros :/
Reply
#5

Quote:
Originally Posted by Zina
Посмотреть сообщение
Valeu Manolo!

Ainda ficou 2 Warn

Код:
C:\Documents and Settings\Lucas Nicolas\Desktop\Arkivos SAMP\Samp\pawno\include\P-STREAMER\PSO\1.0#PSO_LIB\#PSO_ESTRUTURA\PSO_F.FFR(17) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
C:\Documents and Settings\Lucas Nicolas\Desktop\BGC.pwn(17734) : warning 219: local variable "mod" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Obs.: Tentei apagar o new mod e deu 22 erros :/
ii manolo й tenso esses errinho ai viu
Reply
#6

1 Waning:
Definiu 2x Uma Macro Procure por
pawn Код:
#define SetPlayerPos
Ou Algo do Tipo e Apague

2 Warning:
Definiu 2x uma Array,procure por
pawn Код:
new mod
e apaga
Reply
#7

Quote:
Originally Posted by DraKiNs
Посмотреть сообщение
1 Waning:
Definiu 2x Uma Macro Procure por
pawn Код:
#define SetPlayerPos
Ou Algo do Tipo e Apague

2 Warning:
Definiu 2x uma Array,procure por
pawn Код:
new mod
e apaga
Nenhum dos 2 esta sendo definido manolo "/
Reply
#8

Deve estar sendo definida eternamente em uma Include
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)