SA-MP Forums Archive
[AJUDA] Erros =/ [LEIAM] <- - 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] Erros =/ [LEIAM] <- (/showthread.php?tid=174779)



[AJUDA] Erros =/ [LEIAM] <- - Zina - 06.09.2010

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



Re: [AJUDA] Erros =/ [LEIAM] <- - Zina - 07.09.2010

Por favor me ajuda!!!


Re: [AJUDA] Erros =/ [LEIAM] <- - CyNiC - 07.09.2010

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]


Re: [AJUDA] Erros =/ [LEIAM] <- - Zina - 07.09.2010

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 :/


Re: [AJUDA] Erros =/ [LEIAM] <- - Macintosh - 07.09.2010

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


Re: [AJUDA] Erros =/ [LEIAM] <- - ipsBruno - 07.09.2010

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


Re: [AJUDA] Erros =/ [LEIAM] <- - Zina - 07.09.2010

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 "/


Re: [AJUDA] Erros =/ [LEIAM] <- - ipsBruno - 07.09.2010

Deve estar sendo definida eternamente em uma Include