Pomoc

Započeo Ivo_Bosnjak, Novembar 20, 2021, 23:30:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.


Problem(error/warning):Iskacu mi errori
[pawn]
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4884) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4888) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4896) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4901) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4906) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4911) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4916) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4921) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4928) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4933) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4938) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4943) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4948) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4953) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4958) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4963) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4968) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4976) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4981) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(4986) : error 033: array must be indexed (variable "pClan")
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(5719) : error 033: array must be indexed (variable "pClan")
[/pawn]
Deo skripte:
Pawno Code: [Izaberi]
[pawn]
if(dialogid == DIALOG_KOMANDE)
   {
       if(!response) return 1;
        switch(listitem)
      {
          case 0:
          {
              new strgh[2045];
              strcat(strgh, ""CRVENA"Nalog:"BELA"\n/promenipass\n", sizeof(strgh));
              ShowPlayerDialog(playerid,DIALOG_KOMANDE,DIALOG_STYLE_MSGBOX, "Komande", strgh, "Izlaz", "");
          }
          case 1:
          {
              new strgh[2045];
            strcat(strgh, ""CRVENA"Generalno:"BELA"\n Koristite broj 2 da upalite ili ugasite motor. Takodje mozete i na /engine\n", sizeof(strgh));
            strcat(strgh, "/novi /pitaj /report /bojatd /daj /prihvati /odbij /rent /unrent /zapalicigaru /ugasicigaru /pdozvole /stats /naocare /promenispawn /koristi\n", sizeof(strgh));
            strcat(strgh, "/kapija /marama /kockica /vreme /osvezi /banka /kredit /otvoriracun /eject /kupidozvole /admini /gamemasteri /vipovi /lideri\n", sizeof(strgh));
            strcat(strgh, "/pravila /anims(uskoro) /gorivo /teamspeak /pismeni /naruciubistvo /promoteri /gps /call /p /h  \n", sizeof(strgh));
            ShowPlayerDialog(playerid,DIALOG_KOMANDE,DIALOG_STYLE_MSGBOX, "Komande", strgh, "Izlaz", "");
          }
          case 2:
            {
              new strgh[2045];
            strcat(strgh, ""CRVENA"Imovina:"BELA"\n/kupikucu /kuca /kupifirmu /firma /kupistan /stan /kupivikendicu /vikendica /kupigarazu /graza\n/v /mo /bi /kupipolovno /kupivozilo\n", sizeof(strgh));
            ShowPlayerDialog(playerid,DIALOG_KOMANDE,DIALOG_STYLE_MSGBOX, "Komande", strgh, "Izlaz", "");
         }
         case 3:
            {
                new strgh[2045];
             if (PlayerInfo[playerid][pPosao] == POSAO_NEMAPOSAO)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n Trenutno nemate ni jedan posao\n zaposlite se i zaradite novac\n da bi ste se zaposlili kucajte "SPLAVA"/posao\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_BUSVOZAC)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/linija /prekiniposao\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_KOSACTRAVE)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/kositravu /prekiniposao\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_MEHANICAR)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"CTRL da zakacite/otkacite vozilo | /mlociraj | /popravi | /napuni\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_POSTAR)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/posta /prekiniposao\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_KOMUNALAC)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/komunalno /prekiniposao\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_GRADJEVINAR)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/malter /poravnaj /prekiniposao\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_BOLNICAR)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/izleci /oprema\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_GROBAR)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/grobar /oprema\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_DZEPAROS)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/ukradi | Posle svake kradje morate sacekati odredjeno vreme\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_RIBAR)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/ribari \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_FARMER)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/mleko /oranje /vrsenje\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_MASINOVODJA)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/voz\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_DOSTAVLJAC)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/uzmikutiju /utovari /istovari\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_KAMIONDZIJA)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/tura /oprema\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_PILOT)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/let /oprema\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_ELEKTRICAR)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/kvar /oprema\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_VODOINSTALATER)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/pronadjikvar /oprema /zatvoriventil /popravikvar\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_RUDAR)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/posao /prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/kopajzlato /predajzlato /utovarizlato /istovarizlato\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pPosao] == POSAO_DRVOSECA)
            {
                strcat(strgh, ""CRVENA"Posao:"BELA"\n/prekiniposao /oprema\n", sizeof(strgh));
                strcat(strgh, ""BELA"/drva /oprema\n\n", sizeof(strgh));
            }
            ShowPlayerDialog(playerid,16120,DIALOG_STYLE_MSGBOX, "Komande", strgh, "Izlaz", "");
         }

         case 4:
            {
                new strgh[2045];
            strcat(strgh, ""CRVENA"Prodaja:"BELA"\n/smsoglas\n/v(Prodaj vozilo , Prodaj vozilo igracu), /kuca(Prodaj kucu igracu , Prodaj kucu)\n/firma(Prodaj Firmu Drzavi)/stan(prodaj stan)\n/vikendica(Prodaj vikendicu)\n", sizeof(strgh));
            ShowPlayerDialog(playerid,DIALOG_KOMANDE,DIALOG_STYLE_MSGBOX, "Komande", strgh, "Izlaz", "");
         }
         case 5:
            {
                new strgh[2045];
                if (PlayerInfo[playerid][pClan] == 0 || PlayerInfo[playerid][pLider] == 0)
                {
                    strcat(strgh, ""CRVENA"Organizacija:"BELA"\n Trenutno niste u organizaciju\n", sizeof(strgh));
                }
            if (PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"LSPD: "BELA"/f /clanovi /cuff /uncuff /vuci /pusti /duznost /tazer /kazna /najava /su /ocistidosije\n", sizeof(strgh));
                strcat(strgh, ""BELA"LSPD: "BELA"/pojacanje /pdoprema /ponistilociranje /lociraj /mdc /swatoprema /oduzmi /pretresi\n", sizeof(strgh));
               strcat(strgh, ""BELA"LSPD: "BELA"/trazeni /pu /uhapsi /megafon /proveridosije /prepreka /unistiprepreku /unistisveprepreke\n", sizeof(strgh));
               strcat(strgh, ""BELA"LSPD: "BELA"/stavirotaciju /skinirotaciju /ram /skinimaramu /obori \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"The Vinci Family: "BELA"/sverc /oponisti /f /clanovi | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Black Dragon Triads: "BELA"/sverc /oponisti /f /clanovi | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Grove Street Family: "BELA"/kupisjeme /posadidrogu /beridrogu /oponisti /f /clanovi | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Ballas: "BELA"/sverc /oponisti /f /clanovi | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Novinari: "BELA"/intervju /oglasi /vesti /f /clanovi | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Marshall : "BELA"/f /clanovi /cuff /uncuff /vuci /pusti /duznost /tazer /kazna /najava /su /moprema\n", sizeof(strgh));
                 strcat(strgh, ""BELA"Marshall : "BELA"/pojacanje /pdoprema /ponistilociranje /lociraj /mdc /swatoprema /oduzmi /pretresi\n", sizeof(strgh));
               strcat(strgh, ""BELA"Marshall : "BELA"/trazeni /pu /uhapsi /megafon /proveridosije /prepreka /unistiprepreku /unistisveprepreke\n\n", sizeof(strgh));
            }
             if (PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Parking Servis: "BELA"/zakaci /psduznost /psparkiraj /otkaci /psnajava | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
             if (PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Condor: "BELA"/f /clanovi /sverc ENTER/SPACE(Sef) | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Hitman: "BELA"/htrazeni /hlociraj /oprema /baci | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 11 || PlayerInfo[playerid][pLider] == 11)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Blue Lagoon: "BELA"/f /clanovi /sverc ENTER/SPACE(Sef) /baci|podigni | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"LCN: "BELA"/f /clanovi /sverc ENTER/SPACE(Sef) /baci|podigni | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Da Naga Boys: "BELA"/f /clanovi /sverc ENTER/SPACE(Sef) /baci|podigni | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Taxi: "BELA"/f /clanovi /taxi /prihvati | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Yakuza: "BELA"/f /clanovi /sverc ENTER/SPACE(Sef) /baci|podigni | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"FBI: "BELA"/f /clanovi /cuff /uncuff /vuci /pusti /duznost /tazer /kazna /najava /su /ocistidosije\n", sizeof(strgh));
                 strcat(strgh, ""BELA"FBI: "BELA"/pojacanje /fbioprema /ponistilociranje /lociraj /mdc /swatoprema /oduzmi /pretresi\n", sizeof(strgh));
               strcat(strgh, ""BELA"FBI: "BELA"/trazeni /pu /uhapsi /megafon /proveridosije /prepreka /unistiprepreku /unistisveprepreke\n\n", sizeof(strgh));
               strcat(strgh, ""BELA"FBI: "BELA"/obori /ram /kazna /skinimaramu\n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Black Cobra Corporation: "BELA"/f /clanovi /sverc ENTER/SPACE(Sef) /baci|podigni | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 18 || PlayerInfo[playerid][pLider] == 18)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"Vatrogasci: "BELA"/vatrenaoprema /f /clanovi | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            if (PlayerInfo[playerid][pClan] == 19 || PlayerInfo[playerid][pLider] == 19)
            {
                strcat(strgh, ""CRVENA"Organizacija:"BELA"\n/napustiorg\n", sizeof(strgh));
               strcat(strgh, ""BELA"DeathRow: "BELA"/f /clanovi /sverc ENTER/SPACE(Sef) /baci|podigni | "CRVENA"Lider: "BELA"/ubaci /izbaci /clanovi /dodelirank \n\n", sizeof(strgh));
            }
            ShowPlayerDialog(playerid,DIALOG_KOMANDE,DIALOG_STYLE_MSGBOX, "Komande", strgh, "Izlaz", "");
         }
         case 6:
            {
              new strgh[2045];
            strcat(strgh, ""CRVENA"Chat:"BELA"\n/me /do /s /tiho /b /w /akcenat\n", sizeof(strgh));
            ShowPlayerDialog(playerid,DIALOG_KOMANDE,DIALOG_STYLE_MSGBOX, "Komande", strgh, "Izlaz", "");
         }
         case 7:
            {
              new strgh[2045];
            strcat(strgh, ""CRVENA"Ostalo:"BELA"\n/propose /witness /opljackajopstinu /opljackajzlataru /divorce /neon /izvadipasos\n", sizeof(strgh));
            ShowPlayerDialog(playerid,DIALOG_KOMANDE,DIALOG_STYLE_MSGBOX, "Komande", strgh, "Izlaz", "");
         }
      }
   }
[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
//
Poslednja Izmena: Novembar 20, 2021, 23:32:09 POSLE PODNE od Ivo_Bosnjak

[pawn]new pClan[2];
pClan[0] = 5;[/pawn]

a kod tebe je vjerovatno

new pClan[2];
pClan
= 5;

Citat: .extract poslato Novembar 20, 2021, 23:42:42 POSLE PODNE
[pawn]new pClan[2];
pClan[0] = 5;[/pawn]

a kod tebe je vjerovatno

new pClan[2];
pClan
= 5;
Ne razumem zasto bi definisao to kao zasebnu varijablu ako bi ona trebala da se nalazi u enumeratoru PlayerInfo?


Sama greska ti kaze da array nije indeksiran. Proveri da li ga imas definisanog u enumeratoru.
• Website: www.vasic.dev
Web Development & Cyber Security