[Ajuda] Sistema de Level
#4

Vlw Funcionou =D LeLeTe.

Agora podem me ajudar a salvar em DOF?
Eu tentei mas num deu certo :S
e me embolei todo.
No Registro:
pawn Code:
DOF2_SetInt(Contas(playerid),"Senha", strval(inputtext));
        DOF2_SetInt(Contas(playerid), "Skin", 137);
        DOF2_SetInt(Contas(playerid), "Admin", 0);
        DOF2_SaveFile();
e o Salvar:
pawn Code:
SalvarContas(playerid)
{
    if(!DOF2_FileExists(Contas(playerid))) { DOF2_CreateFile(Contas(playerid)); }
    DOF2_SetInt(Contas(playerid), "Skin", GetPlayerSkin(playerid));
    DOF2_SetInt(Contas(playerid), "Dinheiro", GetPlayerMoney(playerid));
    DOF2_SetInt(Contas(playerid), "AdminNivel", Player[playerid][AdminNivel]);
    DOF2_SaveFile();
    return 1;
}
Reply


Messages In This Thread
Sistema de Level - by Adriano_MQD - 02.09.2012, 16:05
Re: Sistema de Level - by LeLeTe - 02.09.2012, 16:17
Re: Sistema de Level - by ViniBorn - 02.09.2012, 16:17
Re: Sistema de Level - by Adriano_MQD - 02.09.2012, 16:34
Re: Sistema de Level - by ViniBorn - 02.09.2012, 17:01
Re: Sistema de Level - by Adriano_MQD - 02.09.2012, 17:38
Re: Sistema de Level - by LeLeTe - 02.09.2012, 18:41
Re: Sistema de Level - by Adriano_MQD - 02.09.2012, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)