04.05.2012, 17:18
HaHa Se Ta Pensando Que e Facil
?
Bom Olha o Erro
Linha 88 e 90 Esta em PlayerFile_Load
186 e 188 Esta em PlayerFile_Save
Eu criei a Enun
No Game Mode No Inicio do Gm Tem Isso

Bom Olha o Erro
pawn Код:
C:\Documents and Settings\mau\Desktop\MAURILIO\GM\pawno\include\PPC_FileOperations.inc(88) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\mau\Desktop\MAURILIO\GM\pawno\include\PPC_FileOperations.inc(90) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\mau\Desktop\MAURILIO\GM\pawno\include\PPC_FileOperations.inc(186) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\mau\Desktop\MAURILIO\GM\pawno\include\PPC_FileOperations.inc(188) : error 017: undefined symbol "PlayerInfo"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
if (strcmp(ParameterName, "Gold", false) == 0)//gold
PlayerInfo[playerid][pGold] = strval(ParameterValue);// ERRO AQUI
if (strcmp(ParameterName, "Vip", false) == 0) // vip
PlayerInfo[playerid][pVip] = strval(ParameterValue);//ERRO AQUI
pawn Код:
format(LineForFile, 100, "Gold %i\r\n", PlayerInfo[playerid][pGold]);//ERRO AQUI
fwrite(PFile, LineForFile);
format(LineForFile, 100, "Vip %i\r\n", PlayerInfo[playerid][pVip]);//ERRO AQUI
fwrite(PFile, LineForFile);
No Game Mode No Inicio do Gm Tem Isso
pawn Код:
enum Info
{
pGold,
pVip
}
new PlayerInfo[MAX_PLAYERS][Info];