[AJUDA] Matou e Morreu
#2

No Inicio Do GM

pawn Код:
stock SalvarDados(playerid)
{
    GetPlayerName(playerid, nome, sizeof(nome));
    format(arquivo, sizeof(arquivo), ContasPlayers, nome);
    if(!dini_Exists(arquivo)) dini_Create(arquivo);

    dini_IntSet(arquivo, "TotalMorreu", TotalMorreu[playerid]);
    dini_IntSet(arquivo, "TotalMatou", TotalMatou[playerid]);
pawn Код:
stock CarregarDadosPlayer(playerid)
{
    GetPlayerName(playerid, nome, sizeof(nome));
    format(arquivo, sizeof(arquivo), ContasPlayers, nome);
    if(!dini_Exists(arquivo)) return 0x1;

    TotalMorreu[playerid] = dini_Int(arquivo, "TotalMorreu");
    TotalMatou[playerid] = dini_Int(arquivo, "TotalMatou");
E So Alterar As Treta Pra Como Ta No Seu GM "-"

Ajudei? Repu Ae
Reply


Messages In This Thread
[AJUDA] Matou e Morreu - by thaw_ps - 19.01.2012, 22:22
Re: [AJUDA] Matou e Morreu - by Don_Speed - 19.01.2012, 22:39
Re: [AJUDA] Matou e Morreu - by thaw_ps - 19.01.2012, 23:55

Forum Jump:


Users browsing this thread: 1 Guest(s)