[Ajuda] Stocks Salvamento .
#5

pawn Код:
stock Ler(playerid)
{
    SetPlayerPos(playerid, DOF2_GetFloat(Contas(playerid), "Pos"));
    return 1;
}

stock Salvar(playerid)
{
    if(!DOF2_FileExists(Contas(playerid)))
    {
        DOF2_CreateFile(Contas(playerid));
        Salvar(playerid);
        return 1;
    }
   
    DOF2_SetFloat(Contas(playerid), "Pos", GetPlayerPos(playerid, Px, Py, Pz));
    DOF2_SaveFile();
    return 1;
}
Deu os mesmos warnigns.
Reply


Messages In This Thread
Stocks Salvamento . - by rCr - 29.03.2013, 11:59
Re: Stocks Salvamento . - by DrTHE - 29.03.2013, 12:13
Re: Stocks Salvamento . - by rCr - 29.03.2013, 12:18
Re: Stocks Salvamento . - by DrTHE - 29.03.2013, 12:22
Re: Stocks Salvamento . - by rCr - 29.03.2013, 12:23
Re: Stocks Salvamento . - by smiiir - 29.03.2013, 12:27
Re: Stocks Salvamento . - by DrTHE - 29.03.2013, 12:27
Re: Stocks Salvamento . - by rCr - 29.03.2013, 12:28
Re: Stocks Salvamento . - by rCr - 29.03.2013, 12:37
Re: Stocks Salvamento . - by DrTHE - 29.03.2013, 12:40

Forum Jump:


Users browsing this thread: 1 Guest(s)