Admin Sistem

Započeo Dzanan_Beg, Februar 17, 2019, 18:45:57 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Detaljan opis problema: Imam probelm sa admin sistem ne sprema mi admine kad ih prvi put postavim. Sve sam provjerio ne kontam u cemu je problem
Skripta koju koristim:PL
Neke slike/video/kod za lakse dobivanje pomoci (npr.slika server.cfg, server log ili slično):[pawn]      else if(!strcmp(akcija, "admin", true))
      {
         if(PI[playerid][pAdmin] >= HEAD || IsPlayerAdmin(playerid))
         {
             if(parametar == 1339) return SCM(playerid, GRAD2, "{F81414}(Greska){C0C0C0} Greska!");
             if(!IsPlayerConnected(id)) return SCM(playerid, GRAD2, "{F81414}(Greska){C0C0C0} Taj igrac je offline!");
             RPIme(id, hIme[0]);
             RPIme(playerid, hIme[1]);
             if(parametar == 0)
            {
                if(PI[id][pAdmin] == 0) return SCM(playerid, GRAD2, "{F81414}(Greska){C0C0C0} Taj igrac je vec skinut sa staff pozicije.");
                new pom = PI[id][pAdminID];
               PI[id][pAdminID] = 0;
               PI[id][pAdmin] = 0;
               PI[id][pStaffPin] = 0;
               strmid(AdminInfo[pom][aAdmin], "Nema", 0, strlen("Nema"), 255);
                  AdminInfo[pom][aRank] = 0;
               AdminInfo[pom][aNeaktivnost] = 0;
               format(CmdString, 128, "* Skinuli ste {FFFFFF}%s {FF0000}sa admin pozicje!", hIme[0]);
               SCM(playerid, CRVENA, CmdString);
               format(CmdString, 128, "* Skinuti ste sa admin pozicije od vlasnika %s", hIme[1]);
               SCM(id, CRVENA, CmdString);
               SacuvajIgraca(id);
                SacuvajAdmine();
            }
            else
            {
               if(PI[id][pAdmin] > 0)
               {
                    new paID = PI[id][pAdminID];
                  format(CmdString, 128, "* Postavili ste {FFFFFF}%s {33CCFF}za administratora nivo {FFFFFF}%d.", hIme[0], parametar);
                  SCM(playerid, SVETLOPLAVA, CmdString);
                   AdminInfo[paID][aRank] = parametar;
                  AdminInfo[paID][aNeaktivnost] = 0;
                  new admdialog1[512];
                    new admdialog2[512];
                   new admdialog[1024];
                   format(admdialog1, sizeof(admdialog1), "{33CCFF}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n{FFFFFF}Postavljeni ste za\
                                                              {FFFFFF} Admina nivo %d.\nPostavio Vlasnik: %s\n\n{F81414}Staff PIN kod - Obavezno procitaj\n{FFFFFF}Za\
                                                 {FFFFFF} ulazak u igru bit ce vam protreban poseban kod. Bez tog", parametar, hIme[1]);
                  format(admdialog2, sizeof(admdialog2), "{FFFFFF}koda necete\nbiti u mogucnosti da se logirate na svoj korisnicki racun\n\nVas PIN kod je: %d.\nUkoliko\
                                                          {FFFFFF} izgubite PIN kod necete moci uspjesno logirati vas Korisnicki racun!\n\nSlikaj (F8)\n\n\
                                                 {33CCFF}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", PI[id][pStaffPin]);
                   format(admdialog, sizeof(admdialog), "%s %s", admdialog1, admdialog2);
                  SPD(id, 999, DIALOG_STYLE_MSGBOX, "{FFFFFF}Midnight Revolution - {33CCFF}Admin", admdialog, "Zatvori", "");
                  PI[id][pAdmin] = parametar;
                    new ip[16], logstring[256];
                    GetPlayerIp(playerid, ip, sizeof ip);
                   format(logstring, sizeof logstring, "|ADMINISTRATOR| Igrac: %s | Postavio: %s | Nivo: %d | IP: %s", hIme[0], hIme[1], parametar, ip);
                  UpisiLog(FAJL_HEADPROVERA, logstring);
                  SacuvajAdmine();
                  SacuvajIgraca(id);
                }
                 else
                 {
                    if(strcmp(AdminInfo[1][aAdmin], "Nema", true) && strcmp(AdminInfo[2][aAdmin], "Nema", true) && strcmp(AdminInfo[3][aAdmin], "Nema", true) && strcmp(AdminInfo[4][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[5][aAdmin], "Nema", true) && strcmp(AdminInfo[6][aAdmin], "Nema", true) && strcmp(AdminInfo[7][aAdmin], "Nema", true) && strcmp(AdminInfo[8][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[9][aAdmin], "Nema", true) && strcmp(AdminInfo[10][aAdmin], "Nema", true) && strcmp(AdminInfo[11][aAdmin], "Nema", true) && strcmp(AdminInfo[12][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[13][aAdmin], "Nema", true) && strcmp(AdminInfo[14][aAdmin], "Nema", true) && strcmp(AdminInfo[15][aAdmin], "Nema", true) && strcmp(AdminInfo[16][aAdmin], "Nema", true)
                   && strcmp(AdminInfo[17][aAdmin], "Nema", true) && strcmp(AdminInfo[18][aAdmin], "Nema", true) && strcmp(AdminInfo[19][aAdmin], "Nema", true) && strcmp(AdminInfo[20][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[21][aAdmin], "Nema", true) && strcmp(AdminInfo[22][aAdmin], "Nema", true) && strcmp(AdminInfo[23][aAdmin], "Nema", true) && strcmp(AdminInfo[24][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[25][aAdmin], "Nema", true) && strcmp(AdminInfo[26][aAdmin], "Nema", true) && strcmp(AdminInfo[27][aAdmin], "Nema", true) && strcmp(AdminInfo[28][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[29][aAdmin], "Nema", true) && strcmp(AdminInfo[30][aAdmin], "Nema", true))
                  {
                     SCMF(playerid, CRVENA, "Pozvali ste %s u admin team, ali na zalost nemate dovoljno slotova!", hIme[0]);
                     SCMF(id, TAMNOCRVENA, "Vlasnik %s vas je pozvao u admin team, ali na zalost nema dovoljno slotova!", hIme[1]);
                     return 1;
                  }
                  for(new i = 1; i < 31; i++)
                  {
                      //if(!strcmp(AdminInfo[aAdmin], "Nema", true))
                      //{
                          new randomkod = 10000 + random(89999), kod[7];
                          format(kod, 7, "%d", randomkod);
                          PI[id][pStaffPin] = randomkod;
                        format(CmdString, 128, "* Postavili ste {FFFFFF}%s {33CCFF}za administratora nivo {FFFFFF}%d.", hIme[0], parametar);
                        SCM(playerid, SVETLOPLAVA, CmdString);
                        strmid(AdminInfo[aAdmin], Ime_Igraca(id), 0, strlen(Ime_Igraca(id)), 255);
                        AdminInfo[aRank] = parametar;
                        AdminInfo[aNeaktivnost] = 0;
                        PI[id][pAdminID] = i;
                        new admdialog1[512];
                          new admdialog2[512];
                         new admdialog[1024];
                         format(admdialog1, sizeof(admdialog1), "{33CCFF}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n{FFFFFF}Postavljeni ste za\
                                                                    {FFFFFF} Admina nivo %d.\nPostavio Vlasnik: %s\n\n{F81414}Staff PIN kod - Obavezno procitaj\n{FFFFFF}Za\
                                                       {FFFFFF} ulazak u igru bit ce vam protreban poseban kod. Bez tog", parametar, hIme[1]);
                        format(admdialog2, sizeof(admdialog2), "{FFFFFF}koda necete\nbiti u mogucnosti da se logirate na svoj korisnicki racun\n\nVas PIN kod je: %d.\nUkoliko\
                                                                {FFFFFF} izgubite PIN kod necete moci uspjesno logirati vas Korisnicki racun!\n\nSlikaj (F8)\n\n\
                                                       {33CCFF}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", randomkod);
                         format(admdialog, sizeof(admdialog), "%s %s", admdialog1, admdialog2);
                        SPD(id, 999, DIALOG_STYLE_MSGBOX, "{FFFFFF}Midnight Revolution - {33CCFF}Admin", admdialog, "Zatvori", "");
                        PI[id][pAdmin] = parametar;
                          new ip[16], logstring[256];
                          GetPlayerIp(playerid, ip, sizeof ip);
                         format(logstring, sizeof logstring, "|ADMINISTRATOR| Igrac: %s | Postavio: %s | Nivo: %d | IP: %s", hIme[0], hIme[1], parametar, ip);
                        UpisiLog(FAJL_HEADPROVERA, logstring);
                        SacuvajAdmine();
                        SacuvajIgraca(id);
                          break;
                     //}
                  }
               }
             }
         }
         else return SCM(playerid, GRAD2, "{F81414}(Greska){C0C0C0} Nemate dopustenje da koristite ovu komandu!");
      }[/pawn]
Big respect for Ino42O



Citat: Dzanan_Beg poslato Februar 17, 2019, 18:45:57 POSLE PODNE
Detaljan opis problema: Imam probelm sa admin sistem ne sprema mi admine kad ih prvi put postavim. Sve sam provjerio ne kontam u cemu je problem
Skripta koju koristim:PL
Neke slike/video/kod za lakse dobivanje pomoci (npr.slika server.cfg, server log ili slično):[pawn]      else if(!strcmp(akcija, "admin", true))
      {
         if(PI[playerid][pAdmin] >= HEAD || IsPlayerAdmin(playerid))
         {
             if(parametar == 1339) return SCM(playerid, GRAD2, "{F81414}(Greska){C0C0C0} Greska!");
             if(!IsPlayerConnected(id)) return SCM(playerid, GRAD2, "{F81414}(Greska){C0C0C0} Taj igrac je offline!");
             RPIme(id, hIme[0]);
             RPIme(playerid, hIme[1]);
             if(parametar == 0)
            {
                if(PI[id][pAdmin] == 0) return SCM(playerid, GRAD2, "{F81414}(Greska){C0C0C0} Taj igrac je vec skinut sa staff pozicije.");
                new pom = PI[id][pAdminID];
               PI[id][pAdminID] = 0;
               PI[id][pAdmin] = 0;
               PI[id][pStaffPin] = 0;
               strmid(AdminInfo[pom][aAdmin], "Nema", 0, strlen("Nema"), 255);
                  AdminInfo[pom][aRank] = 0;
               AdminInfo[pom][aNeaktivnost] = 0;
               format(CmdString, 128, "* Skinuli ste {FFFFFF}%s {FF0000}sa admin pozicje!", hIme[0]);
               SCM(playerid, CRVENA, CmdString);
               format(CmdString, 128, "* Skinuti ste sa admin pozicije od vlasnika %s", hIme[1]);
               SCM(id, CRVENA, CmdString);
               SacuvajIgraca(id);
                SacuvajAdmine();
            }
            else
            {
               if(PI[id][pAdmin] > 0)
               {
                    new paID = PI[id][pAdminID];
                  format(CmdString, 128, "* Postavili ste {FFFFFF}%s {33CCFF}za administratora nivo {FFFFFF}%d.", hIme[0], parametar);
                  SCM(playerid, SVETLOPLAVA, CmdString);
                   AdminInfo[paID][aRank] = parametar;
                  AdminInfo[paID][aNeaktivnost] = 0;
                  new admdialog1[512];
                    new admdialog2[512];
                   new admdialog[1024];
                   format(admdialog1, sizeof(admdialog1), "{33CCFF}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n{FFFFFF}Postavljeni ste za\
                                                              {FFFFFF} Admina nivo %d.\nPostavio Vlasnik: %s\n\n{F81414}Staff PIN kod - Obavezno procitaj\n{FFFFFF}Za\
                                                 {FFFFFF} ulazak u igru bit ce vam protreban poseban kod. Bez tog", parametar, hIme[1]);
                  format(admdialog2, sizeof(admdialog2), "{FFFFFF}koda necete\nbiti u mogucnosti da se logirate na svoj korisnicki racun\n\nVas PIN kod je: %d.\nUkoliko\
                                                          {FFFFFF} izgubite PIN kod necete moci uspjesno logirati vas Korisnicki racun!\n\nSlikaj (F8)\n\n\
                                                 {33CCFF}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", PI[id][pStaffPin]);
                   format(admdialog, sizeof(admdialog), "%s %s", admdialog1, admdialog2);
                  SPD(id, 999, DIALOG_STYLE_MSGBOX, "{FFFFFF}Midnight Revolution - {33CCFF}Admin", admdialog, "Zatvori", "");
                  PI[id][pAdmin] = parametar;
                    new ip[16], logstring[256];
                    GetPlayerIp(playerid, ip, sizeof ip);
                   format(logstring, sizeof logstring, "|ADMINISTRATOR| Igrac: %s | Postavio: %s | Nivo: %d | IP: %s", hIme[0], hIme[1], parametar, ip);
                  UpisiLog(FAJL_HEADPROVERA, logstring);
                  SacuvajAdmine();
                  SacuvajIgraca(id);
                }
                 else
                 {
                    if(strcmp(AdminInfo[1][aAdmin], "Nema", true) && strcmp(AdminInfo[2][aAdmin], "Nema", true) && strcmp(AdminInfo[3][aAdmin], "Nema", true) && strcmp(AdminInfo[4][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[5][aAdmin], "Nema", true) && strcmp(AdminInfo[6][aAdmin], "Nema", true) && strcmp(AdminInfo[7][aAdmin], "Nema", true) && strcmp(AdminInfo[8][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[9][aAdmin], "Nema", true) && strcmp(AdminInfo[10][aAdmin], "Nema", true) && strcmp(AdminInfo[11][aAdmin], "Nema", true) && strcmp(AdminInfo[12][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[13][aAdmin], "Nema", true) && strcmp(AdminInfo[14][aAdmin], "Nema", true) && strcmp(AdminInfo[15][aAdmin], "Nema", true) && strcmp(AdminInfo[16][aAdmin], "Nema", true)
                   && strcmp(AdminInfo[17][aAdmin], "Nema", true) && strcmp(AdminInfo[18][aAdmin], "Nema", true) && strcmp(AdminInfo[19][aAdmin], "Nema", true) && strcmp(AdminInfo[20][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[21][aAdmin], "Nema", true) && strcmp(AdminInfo[22][aAdmin], "Nema", true) && strcmp(AdminInfo[23][aAdmin], "Nema", true) && strcmp(AdminInfo[24][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[25][aAdmin], "Nema", true) && strcmp(AdminInfo[26][aAdmin], "Nema", true) && strcmp(AdminInfo[27][aAdmin], "Nema", true) && strcmp(AdminInfo[28][aAdmin], "Nema", true)
                  && strcmp(AdminInfo[29][aAdmin], "Nema", true) && strcmp(AdminInfo[30][aAdmin], "Nema", true))
                  {
                     SCMF(playerid, CRVENA, "Pozvali ste %s u admin team, ali na zalost nemate dovoljno slotova!", hIme[0]);
                     SCMF(id, TAMNOCRVENA, "Vlasnik %s vas je pozvao u admin team, ali na zalost nema dovoljno slotova!", hIme[1]);
                     return 1;
                  }
                  for(new i = 1; i < 31; i++)
                  {
                      //if(!strcmp(AdminInfo[aAdmin], "Nema", true))
                      //{
                          new randomkod = 10000 + random(89999), kod[7];
                          format(kod, 7, "%d", randomkod);
                          PI[id][pStaffPin] = randomkod;
                        format(CmdString, 128, "* Postavili ste {FFFFFF}%s {33CCFF}za administratora nivo {FFFFFF}%d.", hIme[0], parametar);
                        SCM(playerid, SVETLOPLAVA, CmdString);
                        strmid(AdminInfo[aAdmin], Ime_Igraca(id), 0, strlen(Ime_Igraca(id)), 255);
                        AdminInfo[aRank] = parametar;
                        AdminInfo[aNeaktivnost] = 0;
                        PI[id][pAdminID] = i;
                        new admdialog1[512];
                          new admdialog2[512];
                         new admdialog[1024];
                         format(admdialog1, sizeof(admdialog1), "{33CCFF}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n{FFFFFF}Postavljeni ste za\
                                                                    {FFFFFF} Admina nivo %d.\nPostavio Vlasnik: %s\n\n{F81414}Staff PIN kod - Obavezno procitaj\n{FFFFFF}Za\
                                                       {FFFFFF} ulazak u igru bit ce vam protreban poseban kod. Bez tog", parametar, hIme[1]);
                        format(admdialog2, sizeof(admdialog2), "{FFFFFF}koda necete\nbiti u mogucnosti da se logirate na svoj korisnicki racun\n\nVas PIN kod je: %d.\nUkoliko\
                                                                {FFFFFF} izgubite PIN kod necete moci uspjesno logirati vas Korisnicki racun!\n\nSlikaj (F8)\n\n\
                                                       {33CCFF}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", randomkod);
                         format(admdialog, sizeof(admdialog), "%s %s", admdialog1, admdialog2);
                        SPD(id, 999, DIALOG_STYLE_MSGBOX, "{FFFFFF}Midnight Revolution - {33CCFF}Admin", admdialog, "Zatvori", "");
                        PI[id][pAdmin] = parametar;
                          new ip[16], logstring[256];
                          GetPlayerIp(playerid, ip, sizeof ip);
                         format(logstring, sizeof logstring, "|ADMINISTRATOR| Igrac: %s | Postavio: %s | Nivo: %d | IP: %s", hIme[0], hIme[1], parametar, ip);
                        UpisiLog(FAJL_HEADPROVERA, logstring);
                        SacuvajAdmine();
                        SacuvajIgraca(id);
                          break;
                     //}
                  }
               }
             }
         }
         else return SCM(playerid, GRAD2, "{F81414}(Greska){C0C0C0} Nemate dopustenje da koristite ovu komandu!");
      }[/pawn]
sta ti je ovo ovoliko?

[pawn]stock SacuvajAdmine()
{
   new fajl[64];
   format(fajl, sizeof fajl, "StaffTeam/Admini.ini");
   new INI:Fajl = INI_Open(fajl);
   INI_SetTag(Fajl, "data");
   INI_WriteString(Fajl, "Admin_1", AdminInfo[1][aAdmin]);
   INI_WriteInt(Fajl,"Rank_1", AdminInfo[1][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_1", AdminInfo[1][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_2", AdminInfo[2][aAdmin]);
   INI_WriteInt(Fajl,"Rank_2", AdminInfo[2][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_2", AdminInfo[2][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_3", AdminInfo[3][aAdmin]);
   INI_WriteInt(Fajl,"Rank_3", AdminInfo[3][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_3", AdminInfo[3][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_4", AdminInfo[4][aAdmin]);
   INI_WriteInt(Fajl,"Rank_4", AdminInfo[4][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_4", AdminInfo[4][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_5", AdminInfo[5][aAdmin]);
   INI_WriteInt(Fajl,"Rank_5", AdminInfo[5][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_5", AdminInfo[5][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_6", AdminInfo[6][aAdmin]);
   INI_WriteInt(Fajl,"Rank_6", AdminInfo[6][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_6", AdminInfo[6][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_7", AdminInfo[7][aAdmin]);
   INI_WriteInt(Fajl,"Rank_7", AdminInfo[7][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_7", AdminInfo[7][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_8", AdminInfo[8][aAdmin]);
   INI_WriteInt(Fajl,"Rank_8", AdminInfo[8][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_8", AdminInfo[8][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_9", AdminInfo[9][aAdmin]);
   INI_WriteInt(Fajl,"Rank_9", AdminInfo[9][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_9", AdminInfo[9][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_10", AdminInfo[10][aAdmin]);
   INI_WriteInt(Fajl,"Rank_10", AdminInfo[10][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_10", AdminInfo[10][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_11", AdminInfo[11][aAdmin]);
   INI_WriteInt(Fajl,"Rank_11", AdminInfo[11][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_11", AdminInfo[11][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_12", AdminInfo[12][aAdmin]);
   INI_WriteInt(Fajl,"Rank_12", AdminInfo[12][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_12", AdminInfo[12][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_13", AdminInfo[13][aAdmin]);
   INI_WriteInt(Fajl,"Rank_13", AdminInfo[13][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_13", AdminInfo[13][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_14", AdminInfo[14][aAdmin]);
   INI_WriteInt(Fajl,"Rank_14", AdminInfo[14][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_14", AdminInfo[14][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_15", AdminInfo[15][aAdmin]);
   INI_WriteInt(Fajl,"Rank_15", AdminInfo[15][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_15", AdminInfo[15][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_16", AdminInfo[16][aAdmin]);
   INI_WriteInt(Fajl,"Rank_16", AdminInfo[16][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_16", AdminInfo[16][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_17", AdminInfo[17][aAdmin]);
   INI_WriteInt(Fajl,"Rank_17", AdminInfo[17][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_17", AdminInfo[17][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_18", AdminInfo[18][aAdmin]);
   INI_WriteInt(Fajl,"Rank_18", AdminInfo[18][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_18", AdminInfo[18][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_19", AdminInfo[19][aAdmin]);
   INI_WriteInt(Fajl,"Rank_19", AdminInfo[19][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_19", AdminInfo[19][aNeaktivnost]);
   INI_WriteString(Fajl, "Admin_20", AdminInfo[20][aAdmin]);
   INI_WriteInt(Fajl,"Rank_20", AdminInfo[20][aRank]);
   INI_WriteInt(Fajl,"Neaktivnost_20", AdminInfo[20][aNeaktivnost]);
   INI_Close(Fajl);
   return 1;
}[/pawn]
eto
Big respect for Ino42O