Erorr 075 ne mogu rijesiti

Započeo Damjan., Novembar 08, 2022, 14:21:14 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Baca mi ovu gresku
(70593) : error 075: input line too long (after substitutions)
(70621) : error 075: input line too long (after substitutions)
(70649) : error 075: input line too long (after substitutions)
(70677) : error 075: input line too long (after substitutions)
(70705) : error 075: input line too long (after substitutions)
Deo skripte: [pawn]
Ovdje cu postaviti komandu u kojoj je problem i oznacit cu svaki ovaj red brojkom na kojem je error.

CMD:sadivocku(playerid,params[])
{
   new id;
    if(sscanf(params, "i", id)) return SCM(playerid, ZUTA, "{6A696A}(Koristite) {C0C0C0}/sadivocku [Broj vocke]");
    if(id == 1)
    {
      if(VockaRaste[playerid] == 1) return SCM(playerid, CRVENA,"Vama vec raste vocka br.1! Kad naraste dobit cete obavjest!");
(70593)      if(PI[playerid][pImanje] == 0) return SCM(playerid,CRVENA,"Nemas imanje!");
      if(PI[playerid][pImanje] == 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1625.753051, -736.037231, 58.881759) || PI[playerid][pImanje] == 2 && IsPlayerInRangeOfPoint(playerid, 10.0, 1599.482177, -723.914978, 62.512771) || PI[playerid][pImanje] == 3 && IsPlayerInRangeOfPoint(playerid, 10.0, 1615.293701, -760.254211, 60.505390) || PI[playerid][pImanje] == 4 && IsPlayerInRangeOfPoint(playerid, 10.0, 1616.443847, -780.707092, 61.333122) || PI[playerid][pImanje] == 5 && IsPlayerInRangeOfPoint(playerid, 10.0, 1576.799072, -748.591918, 66.461250) || PI[playerid][pImanje] == 6 && IsPlayerInRangeOfPoint(playerid, 10.0, 1582.278564, -778.325744, 66.104492) || PI[playerid][pImanje] == 7 && IsPlayerInRangeOfPoint(playerid, 10.0, 1609.388916, -790.672668, 62.512210) || PI[playerid][pImanje] == 8 && IsPlayerInRangeOfPoint(playerid, 10.0, 1567.287597, -765.060607, 68.143463))
      {
         if(PI[playerid][VockaSjeme] > 0)
         {
             new Float:X;
             new Float:Y;
             new Float:Z;
             GetPlayerPos(playerid, X,Y,Z);
             VockaLabel[playerid] = CreatePlayer3DTextLabel(playerid, "[ Vocka ]\n"HBELA"Ovdje raste vocka, kad naraste\n"HBELA"vidjet cete drvo!", 0x00D7D7FF, X,Y,Z, 30.0);
             PI[playerid][VockaSjeme]--;
             SCM(playerid,ZUTA,"Posadili ste ovdje svoju vocku, za 20 min je poberite.");
             SCM(playerid,ZUTA,"Zapamtite da ako prodate naraslo voce, dobit cete oko 10.000$.");
             SCM(playerid,CRVENA,"U ovih 20 minuta ne smijete izlaziti!");
             VockaRaste[playerid] = 1;
             vockatimer[playerid] = SetTimerEx("vockagotova", 20*60*1000, false, "d", playerid);
             VockaPozX[playerid] = X;
             VockaPozY[playerid] = Y;
             VockaPozZ[playerid] = Z;
         }
         else return GRESKA(playerid,"Nemate sjemena da bi ste posadili vocku!");
      }
      else return GRESKA(playerid, "Ne nalazite se na svom imanju!");
   }
   else if(id == 2)
    {
         if(VockaRaste1[playerid] == 1) return SCM(playerid, CRVENA,"Vama vec raste vocka br.2! Kad naraste dobit cete obavjest!");
      if(PI[playerid][pImanje] == 0) return SCM(playerid,CRVENA,"Nemas imanje!");
70621   if(PI[playerid][pImanje] == 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1625.753051, -736.037231, 58.881759) || PI[playerid][pImanje] == 2 && IsPlayerInRangeOfPoint(playerid, 10.0, 1599.482177, -723.914978, 62.512771) || PI[playerid][pImanje] == 3 && IsPlayerInRangeOfPoint(playerid, 10.0, 1615.293701, -760.254211, 60.505390) || PI[playerid][pImanje] == 4 && IsPlayerInRangeOfPoint(playerid, 10.0, 1616.443847, -780.707092, 61.333122) || PI[playerid][pImanje] == 5 && IsPlayerInRangeOfPoint(playerid, 10.0, 1576.799072, -748.591918, 66.461250) || PI[playerid][pImanje] == 6 && IsPlayerInRangeOfPoint(playerid, 10.0, 1582.278564, -778.325744, 66.104492) || PI[playerid][pImanje] == 7 && IsPlayerInRangeOfPoint(playerid, 10.0, 1609.388916, -790.672668, 62.512210) || PI[playerid][pImanje] == 8 && IsPlayerInRangeOfPoint(playerid, 10.0, 1567.287597, -765.060607, 68.143463))
      {
         if(PI[playerid][VockaSjeme] > 0)
         {
             new Float:X;
             new Float:Y;
             new Float:Z;
             GetPlayerPos(playerid, X,Y,Z);
             VockaLabel1[playerid] = CreatePlayer3DTextLabel(playerid, "[ Vocka ]\n"HBELA"Ovdje raste vocka, kad naraste\n"HBELA"vidjet cete drvo!", 0x00D7D7FF, X,Y,Z, 30.0);
             PI[playerid][VockaSjeme]--;
             SCM(playerid,ZUTA,"Posadili ste ovdje svoju vocku, za 20 min je poberite.");
             SCM(playerid,ZUTA,"Zapamtite da ako prodate naraslo voce, dobit cete oko 10.000$.");
             SCM(playerid,CRVENA,"U ovih 20 minuta ne smijete izlaziti!");
             VockaRaste1[playerid] = 1;
             vockatimer1[playerid] = SetTimerEx("vockagotova1", 20*60*1000, false, "d", playerid);
             VockaPozX1[playerid] = X;
             VockaPozY1[playerid] = Y;
             VockaPozZ1[playerid] = Z;
         }
         else return GRESKA(playerid,"Nemate sjemena da bi ste posadili vocku!");
      }
      else return GRESKA(playerid, "Ne nalazite se na svom imanju!");
   }
   else if(id == 3)
    {
       if(VockaRaste2[playerid] == 1) return SCM(playerid, CRVENA,"Vama vec raste vocka br.3! Kad naraste dobit cete obavjest!");
      if(PI[playerid][pImanje] == 0) return SCM(playerid,CRVENA,"Nemas imanje!");
      if(PI[playerid][pImanje] == 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1625.753051, -736.037231, 58.881759) || PI[playerid][pImanje] == 2 && IsPlayerInRangeOfPoint(playerid, 10.0, 1599.482177, -723.914978, 62.512771) || PI[playerid][pImanje] == 3 && IsPlayerInRangeOfPoint(playerid, 10.0, 1615.293701, -760.254211, 60.505390) || PI[playerid][pImanje] == 4 && IsPlayerInRangeOfPoint(playerid, 10.0, 1616.443847, -780.707092, 61.333122) || PI[playerid][pImanje] == 5 && IsPlayerInRangeOfPoint(playerid, 10.0, 1576.799072, -748.591918, 66.461250) || PI[playerid][pImanje] == 6 && IsPlayerInRangeOfPoint(playerid, 10.0, 1582.278564, -778.325744, 66.104492) || PI[playerid][pImanje] == 7 && IsPlayerInRangeOfPoint(playerid, 10.0, 1609.388916, -790.672668, 62.512210) || PI[playerid][pImanje] == 8 && IsPlayerInRangeOfPoint(playerid, 10.0, 1567.287597, -765.060607, 68.143463))
(70649)      {
         if(PI[playerid][VockaSjeme] > 0)
         {
             new Float:X;
             new Float:Y;
             new Float:Z;
             GetPlayerPos(playerid, X,Y,Z);
             VockaLabel2[playerid] = CreatePlayer3DTextLabel(playerid, "[ Vocka ]\n"HBELA"Ovdje raste vocka, kad naraste\n"HBELA"vidjet cete drvo!", 0x00D7D7FF, X,Y,Z, 30.0);
             PI[playerid][VockaSjeme]--;
             SCM(playerid,ZUTA,"Posadili ste ovdje svoju vocku, za 20 min je poberite.");
             SCM(playerid,ZUTA,"Zapamtite da ako prodate naraslo voce, dobit cete oko 10.000$.");
             SCM(playerid,CRVENA,"U ovih 20 minuta ne smijete izlaziti!");
             VockaRaste2[playerid] = 1;
             vockatimer2[playerid] = SetTimerEx("vockagotova2", 20*60*1000, false, "d", playerid);
             VockaPozX2[playerid] = X;
             VockaPozY2[playerid] = Y;
             VockaPozZ2[playerid] = Z;
         }
         else return GRESKA(playerid,"Nemate sjemena da bi ste posadili vocku!");
      }
      else return GRESKA(playerid, "Ne nalazite se na svom imanju!");
   }
   else if(id == 4)
    {
         if(VockaRaste3[playerid] == 1) return SCM(playerid, CRVENA,"Vama vec raste vocka br.4.! Kad naraste dobit cete obavjest!");
      if(PI[playerid][pImanje] == 0) return SCM(playerid,CRVENA,"Nemas imanje!");
      if(PI[playerid][pImanje] == 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1625.753051, -736.037231, 58.881759) || PI[playerid][pImanje] == 2 && IsPlayerInRangeOfPoint(playerid, 10.0, 1599.482177, -723.914978, 62.512771) || PI[playerid][pImanje] == 3 && IsPlayerInRangeOfPoint(playerid, 10.0, 1615.293701, -760.254211, 60.505390) || PI[playerid][pImanje] == 4 && IsPlayerInRangeOfPoint(playerid, 10.0, 1616.443847, -780.707092, 61.333122) || PI[playerid][pImanje] == 5 && IsPlayerInRangeOfPoint(playerid, 10.0, 1576.799072, -748.591918, 66.461250) || PI[playerid][pImanje] == 6 && IsPlayerInRangeOfPoint(playerid, 10.0, 1582.278564, -778.325744, 66.104492) || PI[playerid][pImanje] == 7 && IsPlayerInRangeOfPoint(playerid, 10.0, 1609.388916, -790.672668, 62.512210) || PI[playerid][pImanje] == 8 && IsPlayerInRangeOfPoint(playerid, 10.0, 1567.287597, -765.060607, 68.143463))
      {
(70677)         if(PI[playerid][VockaSjeme] > 0)
         {
             new Float:X;
             new Float:Y;
             new Float:Z;
             GetPlayerPos(playerid, X,Y,Z);
             VockaLabel3[playerid] = CreatePlayer3DTextLabel(playerid, "[ Vocka ]\n"HBELA"Ovdje raste vocka, kad naraste\n"HBELA"vidjet cete drvo!", 0x00D7D7FF, X,Y,Z, 30.0);
             PI[playerid][VockaSjeme]--;
             SCM(playerid,ZUTA,"Posadili ste ovdje svoju vocku, za 20 min je poberite.");
             SCM(playerid,ZUTA,"Zapamtite da ako prodate naraslo voce, dobit cete oko 10.000$.");
             SCM(playerid,CRVENA,"U ovih 20 minuta ne smijete izlaziti!");
             VockaRaste3[playerid] = 1;
             vockatimer3[playerid] = SetTimerEx("vockagotova3", 20*60*1000, false, "d", playerid);
             VockaPozX3[playerid] = X;
             VockaPozY3[playerid] = Y;
             VockaPozZ3[playerid] = Z;
         }
         else return GRESKA(playerid,"Nemate sjemena da bi ste posadili vocku!");
      }
      else return GRESKA(playerid, "Ne nalazite se na svom imanju!");
   }
   else if(id == 5)
    {
       if(VockaRaste4[playerid] == 1) return SCM(playerid, CRVENA,"Vama vec raste vocka br.5! Kad naraste dobit cete obavjest!");
      if(PI[playerid][pImanje] == 0) return SCM(playerid,CRVENA,"Nemas imanje!");
      if(PI[playerid][pImanje] == 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1625.753051, -736.037231, 58.881759) || PI[playerid][pImanje] == 2 && IsPlayerInRangeOfPoint(playerid, 10.0, 1599.482177, -723.914978, 62.512771) || PI[playerid][pImanje] == 3 && IsPlayerInRangeOfPoint(playerid, 10.0, 1615.293701, -760.254211, 60.505390) || PI[playerid][pImanje] == 4 && IsPlayerInRangeOfPoint(playerid, 10.0, 1616.443847, -780.707092, 61.333122) || PI[playerid][pImanje] == 5 && IsPlayerInRangeOfPoint(playerid, 10.0, 1576.799072, -748.591918, 66.461250) || PI[playerid][pImanje] == 6 && IsPlayerInRangeOfPoint(playerid, 10.0, 1582.278564, -778.325744, 66.104492) || PI[playerid][pImanje] == 7 && IsPlayerInRangeOfPoint(playerid, 10.0, 1609.388916, -790.672668, 62.512210) || PI[playerid][pImanje] == 8 && IsPlayerInRangeOfPoint(playerid, 10.0, 1567.287597, -765.060607, 68.143463))
      {
         if(PI[playerid][VockaSjeme] > 0)
(70705)         {
             new Float:X;
             new Float:Y;
             new Float:Z;
             GetPlayerPos(playerid, X,Y,Z);
             VockaLabel4[playerid] = CreatePlayer3DTextLabel(playerid, "[ Vocka ]\n"HBELA"Ovdje raste vocka, kad naraste\n"HBELA"vidjet cete drvo!", 0x00D7D7FF, X,Y,Z, 30.0);
             PI[playerid][VockaSjeme]--;
             SCM(playerid,ZUTA,"Posadili ste ovdje svoju vocku, za 20 min je poberite.");
             SCM(playerid,ZUTA,"Zapamtite da ako prodate naraslo voce, dobit cete oko 10.000$.");
             SCM(playerid,CRVENA,"U ovih 20 minuta ne smijete izlaziti!");
             VockaRaste4[playerid] = 1;
             vockatimer4[playerid] = SetTimerEx("vockagotova4", 20*60*1000, false, "d", playerid);
             VockaPozX4[playerid] = X;
             VockaPozY4[playerid] = Y;
             VockaPozZ4[playerid] = Z;
         }
         else return GRESKA(playerid,"Nemate sjemena da bi ste posadili vocku!");
      }
      else return GRESKA(playerid, "Ne nalazite se na svom imanju!");
   }
   else return GRESKA(playerid, "Brojevi se moraju kretati od 1-5");
   return 1;
}[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]-[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): -
Samp Stories RP - 2023 - USKORO !


Oznacio sam pored linije koje su al ajde budem ih odvojio sada

(70593) if(PI[playerid][pImanje] == 0) return SCM(playerid,CRVENA,"Nemas imanje!");

70621 if(PI[playerid][pImanje] == 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1625.753051, -736.037231, 58.881759) || PI[playerid][pImanje] == 2 && IsPlayerInRangeOfPoint(playerid, 10.0, 1599.482177, -723.914978, 62.512771) || PI[playerid][pImanje] == 3 && IsPlayerInRangeOfPoint(playerid, 10.0, 1615.293701, -760.254211, 60.505390) || PI[playerid][pImanje] == 4 && IsPlayerInRangeOfPoint(playerid, 10.0, 1616.443847, -780.707092, 61.333122) || PI[playerid][pImanje] == 5 && IsPlayerInRangeOfPoint(playerid, 10.0, 1576.799072, -748.591918, 66.461250) || PI[playerid][pImanje] == 6 && IsPlayerInRangeOfPoint(playerid, 10.0, 1582.278564, -778.325744, 66.104492) || PI[playerid][pImanje] == 7 && IsPlayerInRangeOfPoint(playerid, 10.0, 1609.388916, -790.672668, 62.512210) || PI[playerid][pImanje] == 8 && IsPlayerInRangeOfPoint(playerid, 10.0, 1567.287597, -765.060607, 68.143463))

Ovaj error je na ID 3 ispod
(70649) {

(70677) if(PI[playerid][VockaSjeme] > 0)

I ovaj je na ID 5 ispod zagrada samo
(70705) {




Samp Stories RP - 2023 - USKORO !

Ove linije od kilometar podijeli u više linija.

if(PI[playerid][pImanje] == 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1625.753051, -736.037231, 58.881759) || PI[playerid][pImanje] == 2 && IsPlayerInRangeOfPoint(playerid, 10.0, 1599.482177, -723.914978, 62.512771) || PI[playerid][pImanje] == 3 && IsPlayerInRangeOfPoint(playerid, 10.0, 1615.293701, -760.254211, 60.505390) || PI[playerid][pImanje] == 4 && IsPlayerInRangeOfPoint(playerid, 10.0, 1616.443847, -780.707092, 61.333122) || PI[playerid][pImanje] == 5 && IsPlayerInRangeOfPoint(playerid, 10.0, 1576.799072, -748.591918, 66.461250) || PI[playerid][pImanje] == 6 && IsPlayerInRangeOfPoint(playerid, 10.0, 1582.278564, -778.325744, 66.104492) || PI[playerid][pImanje] == 7 && IsPlayerInRangeOfPoint(playerid, 10.0, 1609.388916, -790.672668, 62.512210) || PI[playerid][pImanje] == 8 && IsPlayerInRangeOfPoint(playerid, 10.0, 1567.287597, -765.060607, 68.143463))

>

if(PI[playerid][pImanje] == 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1625.753051, -736.037231, 58.881759) ||
PI[playerid][pImanje] == 2 && IsPlayerInRangeOfPoint(playerid, 10.0, 1599.482177, -723.914978, 62.512771) ||
PI[playerid][pImanje] == 3 && IsPlayerInRangeOfPoint(playerid, 10.0, 1615.293701, -760.254211, 60.505390) ||
PI[playerid][pImanje] == 4 && IsPlayerInRangeOfPoint(playerid, 10.0, 1616.443847, -780.707092, 61.333122) ||
PI[playerid][pImanje] == 5 && IsPlayerInRangeOfPoint(playerid, 10.0, 1576.799072, -748.591918, 66.461250) ||
PI[playerid][pImanje] == 6 && IsPlayerInRangeOfPoint(playerid, 10.0, 1582.278564, -778.325744, 66.104492) ||
PI[playerid][pImanje] == 7 && IsPlayerInRangeOfPoint(playerid, 10.0, 1609.388916, -790.672668, 62.512210) ||
PI[playerid][pImanje] == 8 && IsPlayerInRangeOfPoint(playerid, 10.0, 1567.287597, -765.060607, 68.143463))
Poslednja Izmena: Novembar 08, 2022, 22:12:53 POSLE PODNE od monsterking

Radi, hvala ti puno :)
Samp Stories RP - 2023 - USKORO !