[POMOC]Errori

Započeo Rush
12. Feb. 2013. Zaključano
466
pregleda
8
postova
Blaeks_Biofor
5
Forum Don
12. Feb. 2013.
liniju decko, liniju  🙂
Rush
4
Shot Caller
12. Feb. 2013.
Blaeks wrote on February 12, 2013, 8:15 pm:
liniju decko, liniju  🙂

prva linija sa error {
druga if(timesrobbed == 1)
Blaeks_Biofor
5
Forum Don
12. Feb. 2013.
nisi lepo uopste postavioi linije, nemas ih jednak broj
if(strcmp(cmd, "/robzlatara", true) == 0)
        {
            if(PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 3 || PlayerInfo == 4
                        || PlayerInfo == 9 || PlayerInfo == 15
                        || PlayerInfo == 5 || PlayerInfo == 14
                        || PlayerInfo == 6 || PlayerInfo == 15
            {
                        SendClientMessage(playerid, COLOR_GREY, "Niste clan Bande/Mafije !");
}
                        return 1;
                }
      if(PlayerToPoint(5.0,playerid,1720.5238,-1121.3607,24.0859))
                {
                        if(timesrobbed == 1)
                        {
                            SendClientMessage(playerid, COLOR_YELLOW, "Mozete ponovo pljackati nakon 1 sata Sacekaj Malo Brate !");
                        }
                        if(timesrobbed == 0)
                    {
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                new robmoney = random(6000);
                                ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 0, 0, 0, 0, 0);
                                timesrobbed+=1;
                                format(string,sizeof(string), "* %s vadi alat za obijanje i obija sef.", sendername);
                                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                                format(string, sizeof(string), "** Opljackali ste zlataru i uzeli ste $%d!",robmoney);
                                SendClientMessage(playerid,COLOR_YELLOW,string);
                                GivePlayerCash(playerid, robmoney);
                                format(string, sizeof(string), "** Zlatara je opljackana !. **", sendername);
                                SendClientMessageToAll(COLOR_LIGHTBLUE, "Zlatara Je Obljackana Molimo Policiju da Uhapse Kriminalca");
                                SendRadioMessage(1, TEAM_BLUE_COLOR, string);
                                SendClientMessage(playerid, COLOR_RED, "Sigurnosne kamere su vas snimile !");
                                SetPlayerColor(playerid, 0x800000FF)
                                WantedPoints+= 4; SetPlayerCriminal(playerid,255, "Pljacka zlatare!");
                        }
                        else
                        {
                                SendClientMessage(playerid, COLOR_GREY, "Mozes Pljackati Nakon 1 sata mOras da sacekas Malo Brate !");
                                return 1;
                        }
                }
                return 1;
        }
      if(strcmp(cmd, "/robbank", true) == 0)
        {
              if(PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 3 || PlayerInfo == 4
                        || PlayerInfo == 9 || PlayerInfo == 15
                        || PlayerInfo == 5 || PlayerInfo == 14
                        || PlayerInfo == 6 || PlayerInfo == 15
}
            {
                        SendClientMessage(playerid, COLOR_GREY, "Niste clan Bande/Mafije !");
                        return 1;
                }
      if(PlayerToPoint(5.0,playerid,345.3764,111.8389,1008.1844))
                {
                        if(timesrobbed == 1)
                        {
                            SendClientMessage(playerid, COLOR_YELLOW, "Mozete ponovo pljackati nakon 1 sata Sacekaj Malo Brate !");
                        }
                        if(timesrobbed == 0)
                    {
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                new robmoney = random(6000);
                                ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 0, 0, 0, 0, 0);
                                timesrobbed+=1;
                                format(string,sizeof(string), "* %s vadi alat za obijanje i obija sef.", sendername);
                                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                                format(string, sizeof(string), "** Opljackali ste banku i uzeli ste $%d!",robmoney);
                                SendClientMessage(playerid,COLOR_YELLOW,string);
                                GivePlayerCash(playerid, robmoney);
                                format(string, sizeof(string), "** Banka je opljackana !. **", sendername);
                                SendClientMessageToAll(COLOR_LIGHTBLUE, "Banka Je Obljackana Molimo Policiju da Uhapse Kriminalca");
                                SendRadioMessage(1, TEAM_BLUE_COLOR, string);
                                SendClientMessage(playerid, COLOR_RED, "Sigurnosne kamere su vas snimile !");
                                SetPlayerColor(playerid, 0x800000FF)
                                WantedPoints+= 4; SetPlayerCriminal(playerid,255, "Pljacka banke!");
                        }
                        else
                        {
                                SendClientMessage(playerid, COLOR_GREY, "Mozes Pljackati Nakon 1 sata mOras da sacekas Malo Brate !");
                                return 1;
                        }
                }
                return 1;
        }
Rush
4
Shot Caller
12. Feb. 2013.
Blaeks wrote on February 12, 2013, 8:25 pm:
nisi lepo uopste postavioi linije, nemas ih jednak broj
if(strcmp(cmd, "/robzlatara", true) == 0)
        {
            if(PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 3 || PlayerInfo == 4
                        || PlayerInfo == 9 || PlayerInfo == 15
                        || PlayerInfo == 5 || PlayerInfo == 14
                        || PlayerInfo == 6 || PlayerInfo == 15
            {
                        SendClientMessage(playerid, COLOR_GREY, "Niste clan Bande/Mafije !");
}
                        return 1;
                }
      if(PlayerToPoint(5.0,playerid,1720.5238,-1121.3607,24.0859))
                {
                        if(timesrobbed == 1)
                        {
                            SendClientMessage(playerid, COLOR_YELLOW, "Mozete ponovo pljackati nakon 1 sata Sacekaj Malo Brate !");
                        }
                        if(timesrobbed == 0)
                    {
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                new robmoney = random(6000);
                                ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 0, 0, 0, 0, 0);
                                timesrobbed+=1;
                                format(string,sizeof(string), "* %s vadi alat za obijanje i obija sef.", sendername);
                                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                                format(string, sizeof(string), "** Opljackali ste zlataru i uzeli ste $%d!",robmoney);
                                SendClientMessage(playerid,COLOR_YELLOW,string);
                                GivePlayerCash(playerid, robmoney);
                                format(string, sizeof(string), "** Zlatara je opljackana !. **", sendername);
                                SendClientMessageToAll(COLOR_LIGHTBLUE, "Zlatara Je Obljackana Molimo Policiju da Uhapse Kriminalca");
                                SendRadioMessage(1, TEAM_BLUE_COLOR, string);
                                SendClientMessage(playerid, COLOR_RED, "Sigurnosne kamere su vas snimile !");
                                SetPlayerColor(playerid, 0x800000FF)
                                WantedPoints+= 4; SetPlayerCriminal(playerid,255, "Pljacka zlatare!");
                        }
                        else
                        {
                                SendClientMessage(playerid, COLOR_GREY, "Mozes Pljackati Nakon 1 sata mOras da sacekas Malo Brate !");
                                return 1;
                        }
                }
                return 1;
        }
      if(strcmp(cmd, "/robbank", true) == 0)
        {
              if(PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 3 || PlayerInfo == 4
                        || PlayerInfo == 9 || PlayerInfo == 15
                        || PlayerInfo == 5 || PlayerInfo == 14
                        || PlayerInfo == 6 || PlayerInfo == 15
}
            {
                        SendClientMessage(playerid, COLOR_GREY, "Niste clan Bande/Mafije !");
                        return 1;
                }
      if(PlayerToPoint(5.0,playerid,345.3764,111.8389,1008.1844))
                {
                        if(timesrobbed == 1)
                        {
                            SendClientMessage(playerid, COLOR_YELLOW, "Mozete ponovo pljackati nakon 1 sata Sacekaj Malo Brate !");
                        }
                        if(timesrobbed == 0)
                    {
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                new robmoney = random(6000);
                                ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 0, 0, 0, 0, 0);
                                timesrobbed+=1;
                                format(string,sizeof(string), "* %s vadi alat za obijanje i obija sef.", sendername);
                                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                                format(string, sizeof(string), "** Opljackali ste banku i uzeli ste $%d!",robmoney);
                                SendClientMessage(playerid,COLOR_YELLOW,string);
                                GivePlayerCash(playerid, robmoney);
                                format(string, sizeof(string), "** Banka je opljackana !. **", sendername);
                                SendClientMessageToAll(COLOR_LIGHTBLUE, "Banka Je Obljackana Molimo Policiju da Uhapse Kriminalca");
                                SendRadioMessage(1, TEAM_BLUE_COLOR, string);
                                SendClientMessage(playerid, COLOR_RED, "Sigurnosne kamere su vas snimile !");
                                SetPlayerColor(playerid, 0x800000FF)
                                WantedPoints+= 4; SetPlayerCriminal(playerid,255, "Pljacka banke!");
                        }
                        else
                        {
                                SendClientMessage(playerid, COLOR_GREY, "Mozes Pljackati Nakon 1 sata mOras da sacekas Malo Brate !");
                                return 1;
                        }
                }
                return 1;
        }

Sada nece da compile brt
Rush
4
Shot Caller
12. Feb. 2013.
David (Sabljak) A.k.A SABO(T) wrote on February 12, 2013, 8:47 pm:
Broj { } izbroji i stavi ....

ne kontam ae uradi na ovom brt ako ti nije mrsko
Rush
4
Shot Caller
12. Feb. 2013.
Niko mi oko ovoga ne moze pomoci
Rush
4
Shot Caller
13. Feb. 2013.
Ae Lock ovo posto vidim da niko ne zna sta treba

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha