[Ajuda] Salvar informaзхes
#3

Quote:
Originally Posted by O_KoDi
Посмотреть сообщение
apos voce setar os valores Tem que add a Sintaxe DOF2_SaveFile();
Exemplo
pawn Код:
{
SalvarPlayer(playerid) {
    GetPlayerName(playerid, Nome, sizeof(Nome));
    new String[50];
    format(String, sizeof(String), CONTAS, Nome);
    DOF2_SetInt(String, "Matou", Kills[playerid]);
    DOF2_SetInt(String, "Morreu", Deaths[playerid]);
    DOF2_SetInt(String, "Logou", Logou[playerid]);
    DOF2_SetInt(String, "Score", GetPlayerScore(playerid));
    DOF2_SetInt(String, "FightingStyle", GetPlayerFightingStyle(playerid));
    DOF2_SetInt(String, "GP", GetPlayerReal(playerid));
    DOF2_SetInt(String, "Dolar", GetPlayerMoney(playerid));
    DOF2_SaveFile();// <<<<< isso aqui amigo

    return 1;
}
Muito obrigado cara, nгo sabia disso.
Pode me ajudar em mais uma coisa? O GP (GivePlayerReal e GetPlayerReal) a cada vez que eu logo ele estб se duplicando, como arrumo isso?
Reply


Messages In This Thread
Salvar informaзхes - by Luciano_Jr - 21.07.2013, 22:22
Re: Salvar informaзхes - by GM_KoDi - 21.07.2013, 22:30
Re: Salvar informaзхes - by Luciano_Jr - 21.07.2013, 22:33
Respuesta: Salvar informaзхes - by ViniKuliveguisky - 21.07.2013, 22:34
Re: Salvar informaзхes - by GM_KoDi - 21.07.2013, 22:36
Re: Salvar informaзхes - by GM_KoDi - 21.07.2013, 22:39
Re: Salvar informaзхes - by Luciano_Jr - 21.07.2013, 22:40
Respuesta: Re: Salvar informaзхes - by ViniKuliveguisky - 21.07.2013, 22:41
Re: Salvar informaзхes - by GM_KoDi - 21.07.2013, 22:42
Re: Respuesta: Re: Salvar informaзхes - by Luciano_Jr - 21.07.2013, 22:48

Forum Jump:


Users browsing this thread: 2 Guest(s)