[Ajuda] Como arrumo este erro ...
#1

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;
} 
Reply
#2

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.
Reply
#3

euheu ta certo vlw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)