[Ajuda] DOF2 = Infoorg
#6

pawn Код:
public SalvarInfoOrg(org)
{
    new arquivo[256];
    format(arquivo, sizeof(arquivo), "/ArquivosORG/InfoOrg/Org%d.ini", org);
    DOF2_SetString(arquivo, "Lider", InfoOrg[org][LiderInfo]);
    DOF2_SetString(arquivo, "SubLider1", InfoOrg[org][SubLider1]);
    DOF2_SetString(arquivo, "SubLider2", InfoOrg[org][SubLider2]);
    for(new i = 3; i < 23; ++i)
    {
        new te[10];
        format(te, sizeof te, "Membro%d", i-3);
        DOF2_SetString(arquivo, te, InfoOrg[org][Oinfo:i]);
    }
    DOF2_SaveFile();
    printf("[INFOORG]: Organizaзгo %d salva com sucesso.", org);
    return true;
}
Reply


Messages In This Thread
DOF2 = Infoorg - by PabLoHenriique - 18.01.2015, 03:32
Re: DOF2 = Infoorg - by MultiKill - 18.01.2015, 03:34
Re: DOF2 = Infoorg - by PabLoHenriique - 18.01.2015, 04:15
Re: DOF2 = Infoorg - by MultiKill - 18.01.2015, 04:21
Re: DOF2 = Infoorg - by PabLoHenriique - 18.01.2015, 04:25
Re: DOF2 = Infoorg - by MultiKill - 18.01.2015, 04:30
Re: DOF2 = Infoorg - by PabLoHenriique - 18.01.2015, 04:37

Forum Jump:


Users browsing this thread: 1 Guest(s)