[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(playerid, pname, sizeof (pname));
for(new p = 0; p < MAX_PROPS; p++)
{
format(string, sizeof(string), "/Props/prop%d.ini", p);
if(dini_Int(string, "TDono") == 1){
if(strcmp(dini_Get(string, "Dono"), pname, true) == 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