[Ajuda] DOF2 Nгo pega Numero(int)
#8

Faзa o seguinte:
pawn Код:
stock Carregar(playerid)
{
    if(DOF2_FileExists(GetFile(playerid)))
    {
        PlayerInfo[playerid][pFome] = DOF2_GetInt(GetFile(playerid), "pFome");
    }
    else
    {
        DOF2_CreateFile(GetFile(playerid));
        PlayerInfo[playerid][pFome] = numero;
        // Substitua numero por algum valor que vocк quiser.
    }
    return 1;
}

public OnPlayerDisconnect(playerid)
{
    Salvar(playerid);
    DOF2_Exit();
    return 1;
}
Reply


Messages In This Thread
DOF2 Nгo pega Numero(int) - by CLANdok - 08.10.2014, 17:25
Re: DOF2 Nгo pega Numero(int) - by MultiKill - 08.10.2014, 19:39
Re: DOF2 Nгo pega Numero(int) - by CLANdok - 08.10.2014, 19:43
Re: DOF2 Nгo pega Numero(int) - by MultiKill - 08.10.2014, 19:53
Re: DOF2 Nгo pega Numero(int) - by CLANdok - 08.10.2014, 20:31
Re: DOF2 Nгo pega Numero(int) - by MultiKill - 08.10.2014, 20:34
Re: DOF2 Nгo pega Numero(int) - by CLANdok - 08.10.2014, 21:04
Re: DOF2 Nгo pega Numero(int) - by MultiKill - 08.10.2014, 21:14
Re: DOF2 Nгo pega Numero(int) - by CLANdok - 08.10.2014, 21:35
Re: DOF2 Nгo pega Numero(int) - by MultiKill - 08.10.2014, 21:38

Forum Jump:


Users browsing this thread: 2 Guest(s)