[AJUDA] Erro Ao compilar
#1

Ao compilar um GM deu isso aqui:
Quote:

C:\Documents and Settings\User\Meus documentos\MODS De GTA\Dedicated Server GTA Online\gamemodes\Xtreme.GM.pwn(5121) : error 017: undefined symbol "dini_Exists"
C:\Documents and Settings\User\Meus documentos\MODS De GTA\Dedicated Server GTA Online\gamemodes\Xtreme.GM.pwn(5123) : error 017: undefined symbol "dini_Create"
C:\Documents and Settings\User\Meus documentos\MODS De GTA\Dedicated Server GTA Online\gamemodes\Xtreme.GM.pwn(5136) : error 017: undefined symbol "dini_IntSet"
C:\Documents and Settings\User\Meus documentos\MODS De GTA\Dedicated Server GTA Online\gamemodes\Xtreme.GM.pwn(5137) : error 017: undefined symbol "dini_IntSet"
C:\Documents and Settings\User\Meus documentos\MODS De GTA\Dedicated Server GTA Online\gamemodes\Xtreme.GM.pwn(5142) : error 017: undefined symbol "dini_Int"
C:\Documents and Settings\User\Meus documentos\MODS De GTA\Dedicated Server GTA Online\gamemodes\Xtreme.GM.pwn(5143) : error 017: undefined symbol "dini_Int"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.

Me ajudem por favor.
Obrigado.
Reply
#2

Eu acho que й o seu Include Dini.
Ou se nгo, passa as linhas do erro.
Reply
#3

Linhas do erro:
Quote:

if (!dini_Exists(FileStats(playerid)))
{
dini_Create(FileStats(playerid));
}
SaveStats(playerid);

return 1;
}
FileStats(playerid)
{
new a[256]; format(a, sizeof(a), "%s.ini",udb_encode(Player(playerid)));
return a;
}
SaveStats(playerid)
{
dini_IntSet(FileStats(playerid), "Score", GetPlayerScore(playerid));
dini_IntSet(FileStats(playerid), "Moneys", GetPlayerMoney(playerid));
}

LoadStats(playerid)
{
SetPlayerScore(playerid,dini_Int(FileStats(playeri d), "Score"));
GivePlayerMoney(playerid,dini_Int(FileStats(player id), "Moneys"));

Ai estгo as linhas 5121 atй 5143
Reply
#4

Coloca no topo:
#include <dini>
Reply
#5

Obrigaaado velho
Deu certo =D
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)