[Ajuda] O arquivo nгo estб sendo deletado
#1

Por algum motivo o DOF2 nгo estб deletando a conta.

pawn Код:
#define contafake   "Contas/Sem_Registro/%s.dll"
OnPlayerDisconnect:
pawn Код:
if(IsAnonimo[playerid] == true)
    {
        format(arquivo, 50, contafake, PlayerName(playerid));
        DOF2_RemoveFile(arquivo);
        Delete3DTextLabel(Text3D:anonimo[playerid]);
        return 1;
    }
Reply
#2

cara nao sei mas tente atualizar o DOF2
Reply
#3

Estou usando o ъltimo release do DOF2.
Reply
#4

A conta do Player nгo deveria ser salva como ".ini" ao invйs de ".dll" ? Nunca vi salvar em DLL, enfim, se nгo for isso acho que isso resolve:

Troque

Код:
if(IsAnonimo[playerid] == true)
    {
        format(arquivo, 50, contafake, PlayerName(playerid));
        DOF2_RemoveFile(arquivo);
        Delete3DTextLabel(Text3D:anonimo[playerid]);
        return 1;
    }
por

Код:
if(IsAnonimo[playerid] == true)
    {
        format(arquivo, 50, Contas/Sem_Registro/%s.dll, PlayerName(playerid));
        DOF2_RemoveFile(arquivo);
        Delete3DTextLabel(Text3D:anonimo[playerid]);
        return 1;
    }
Acho que vai funcionar..
Reply
#5

Nгo й uma regra salvar os arquivos com o formato '.ini'

Nгo funcionou.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)