[Ajuda] Skin nгo estб sendo salvo, por que?
#1

Olб.

De uma hora para outra o meu sistema parou de salvar o skin do jogador, e pelo que vejo no cуdigo, nгo б motivo.

pawn Код:
stock SavePlayerInfo(playerid)
{
    new s[36];
    format(s, sizeof(s), "Contas/%s.ini", pNick(playerid));

    dini_IntSet(s, "Dinheiro", GetPlayerMoney(playerid));
    dini_IntSet(s, "LeveldeProcurado", GetPlayerWantedLevel(playerid));
    dini_IntSet(s, "SkinAtual", GetPlayerSkin(playerid));
    dini_IntSet(s, "Profissao", Profissao[playerid]);
    dini_IntSet(s, "Level", GetPlayerScore(playerid));
    dini_IntSet(s, "ExpJogador", Experiencia[playerid]);
    dini_IntSet(s, "Gasolina", gss[playerid]);
    return 1;
}
pawn Код:
stock LoadPlayerInfo(playerid)
{
    new s[36];
    format(s, sizeof(s), "Contas/%s.ini", pNick(playerid));

    SetPlayerWantedLevel(playerid, dini_Int(s, "LeveldeProcurado"));
    GivePlayerMoney(playerid, dini_Int(s, "Dinheiro"));
    Profissao[playerid] = dini_Int(s, "Profissao");
    pLevel[playerid] = dini_Int(s, "Level");
    SetPlayerScore(playerid, dini_Int(s, "Level"));
    Experiencia[playerid] = dini_Int(s, "ExpJogador");
    gss[playerid] = dini_Int(s, "Gasolina");
   
    SetSpawnInfo(playerid, 0, -1, 1109.4899,-1786.4772,16.5938, 269.15, -1, -1, -1, -1, -1, -1);
    return 1;
}
Reply


Messages In This Thread
Skin nгo estб sendo salvo, por que? - by YaaN - 09.08.2012, 01:32
Re: Skin nгo estб sendo salvo, por que? - by ViniBorn - 09.08.2012, 01:43
Re: Skin nгo estб sendo salvo, por que? - by YaaN - 09.08.2012, 01:54
Re: Skin nгo estб sendo salvo, por que? - by @Riichard - 09.08.2012, 01:57
Re: Skin nгo estб sendo salvo, por que? - by YaaN - 09.08.2012, 02:03
Re: Skin nгo estб sendo salvo, por que? - by Victor' - 09.08.2012, 02:15
Re: Skin nгo estб sendo salvo, por que? - by YaaN - 09.08.2012, 02:18
Re: Skin nгo estб sendo salvo, por que? - by Victor' - 09.08.2012, 02:24

Forum Jump:


Users browsing this thread: 1 Guest(s)