[Ajuda] Score nao salva
#5

Tenta assim
pawn Code:
stock Carregando(playerid)
{
    GivePlayerMoney(playerid, DOF2_GetInt(PlayerArchive(playerid), "Money"));
    PlayerInfo[playerid][pScore] = DOF2_GetInt(PlayerArchive(playerid), "Score");
    PlayerInfo[playerid][pKills] = DOF2_GetInt(PlayerArchive(playerid), "Kills");
    PlayerInfo[playerid][pDeath] = DOF2_GetInt(PlayerArchive(playerid), "Morreu");
    PlayerInfo[playerid][pScore] = GetPlayerScore(playerid);
    return true;
}
stock Salvando(playerid)
{
    DOF2_SetInt(PlayerArchive(playerid), "Money", GetPlayerMoney(playerid));
    DOF2_SetInt(PlayerArchive(playerid), "Score", PlayerInfo[playerid][pScore]);
    DOF2_SetInt(PlayerArchive(playerid), "Kills", PlayerInfo[playerid][pKills]);
    DOF2_SetInt(PlayerArchive(playerid), "Morreu", PlayerInfo[playerid][pDeath]);
    DOF2_SaveFile();
    return true;
}
Reply


Messages In This Thread
Score nao salva - by IgorMendes - 21.07.2012, 23:57
Re: Score nao salva - by _.MeT4L._ - 21.07.2012, 23:59
Re: Score nao salva - by IgorMendes - 22.07.2012, 00:05
Re: Score nao salva - by F_Cinco - 22.07.2012, 00:12
Re: Score nao salva - by Don_Speed - 22.07.2012, 00:28

Forum Jump:


Users browsing this thread: 2 Guest(s)