[Ajuda] Simbolo indefinido "DINI_fcopytextfile" - 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] Simbolo indefinido "DINI_fcopytextfile" (
/showthread.php?tid=395167)
Simbolo indefinido "DINI_fcopytextfile" -
Vinicius_TroLL - 25.11.2012
Converti meu GM de DINI para DOF2 e deu este erro
pawn Код:
(15498) : error 017: undefined symbol "DINI_fcopytextfile"
Linha
pawn Код:
DINI_fcopytextfile(file, string);
Comando completo
pawn Код:
if((strcmp(cmd, "/deletarconta", true)==0 || strcmp(cmd, "/dc", true) ==0) && PlayerInfo[playerid][pAdmin] == DONO)
{
new file[64];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /deletarconta [Nick]");
if (PlayerInfo[playerid][pAdmin] != DONO)
{
SendClientMessage(playerid, COLOR_GREY,"Vocк nгo tem permissгo para usar esse comando!");
return true;
}
getdate(v[0], v[1], v[2]);
gettime(v[3], v[4], v[5]);
format(string, 128, "[%d/%d/%d] [%d:%d:%d] %s Apagou a conta: %s", v[2], v[1], v[0], v[3], v[4], v[5] , PlayerName(playerid), tmp);
AComandosLog(string);
format(file,sizeof(file),"Contas/%s.ini",tmp);
format(string, 128, "%s.bak", file);
DINI_fcopytextfile(file, string);
fremove(file);
return true;
}
Re: Simbolo indefinido "DINI_fcopytextfile" -
alexcordeiro - 25.11.2012
Tem um Tutorial ai na Board BR/PT que ensina a converter pra dof2
https://sampforum.blast.hk/showthread.php?tid=361671
PHP код:
dini DOF2
\/ \/
dini_Exists DOF2_FileExists
dini_Remove DOF2_RemoveFile
dini_Create DOF2_CreateFile
dini_Set DOF2_SetString
dini_Get DOF2_GetString
dini_IntSet DOF2_SetInt
dini_Int DOF2_GetInt
dini_BoolSet DOF2_SetBool
dini_Bool DOF2_GetBool
dini_FloatSet DOF2_SetFloat
dini_Float DOF2_GetFloat
dini_Unset DOF2_Unset
dini_Isset DOF2_IsSet
dini_fcopytextfile DOF2_CopyFile
Re: Simbolo indefinido "DINI_fcopytextfile" -
Vinicius_TroLL - 25.11.2012
Eu ja coloquei mais nгo deu...
Re: Simbolo indefinido "DINI_fcopytextfile" -
Vinicius_TroLL - 25.11.2012
Vlw fera deu sim +Rep
Respuesta: Re: Simbolo indefinido "DINI_fcopytextfile" -
aldair8 - 25.11.2012
Quote:
Originally Posted by alexcordeiro
PHP код:
#define dini_Exists DOF2_FileExists
#define dini_Remove DOF2_RemoveFile
#define dini_Create DOF2_CreateFile
#define dini_Set DOF2_SetString
#define dini_Get DOF2_GetString
#define dini_IntSet DOF2_SetInt
#define dini_Int DOF2_GetInt
#define dini_BoolSet DOF2_SetBool
#define dini_Bool DOF2_GetBool
#define dini_FloatSet DOF2_SetFloat
#define dini_Float DOF2_GetFloat
#define dini_Unset DOF2_Unset
#define dini_Isset DOF2_IsSet
|
eu fui compilar meu gm pq mudei tudo pra dof 2 e deu alguns erros, me ajuda a tira-los?
Re: Simbolo indefinido "DINI_fcopytextfile" -
alexcordeiro - 25.11.2012
Cadк as linhas dos erros poste o code das linhas.