SA-MP Forums Archive
[Ajuda] Como arrumo este erro ... - 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] Como arrumo este erro ... (/showthread.php?tid=497851)



Como arrumo este erro ... - LucasTadeu - 28.02.2014

Olб , eu to colocando um sistema de props , com lucro etc ... entгo deu esse erro aqui


Code:
C:\Documents and Settings\Administrador\Desktop\BWC\gamemodes\BWC.pwn(18603) : error 021: symbol already defined: "GetProps"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Olha a linha ..

PHP Code:
stock GetProps(playerid){
new 
props;
new 
string[128];
new 
pname[MAX_PLAYER_NAME];
GetPlayerName(playeridpnamesizeof (pname));
for(new 
0MAX_PROPSp++)
{
format(stringsizeof(string), "/Props/prop%d.ini"p);
if(
dini_Int(string"TDono") == 1){
if(
strcmp(dini_Get(string"Dono"), pnametrue) == 0){
props props+1;
}
}
}
return 
props;




Re: Como arrumo este erro ... - Dolby - 28.02.2014

Cara, me desculpe por minha ignorвncia, mas se vocк traduzir o erro vai encontrar a soluзгo.

Quote:

error 021: Simbolo jб definido: "GetProps"

Use o cйrebro agora pra corrigir.


Re: Como arrumo este erro ... - LucasTadeu - 28.02.2014

euheu ta certo vlw