[POMOC] Trafike

Započeo Andrijevic SKAMER, Februar 19, 2017, 11:39:23 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: UP
Detaljan opis problema: Oko trafika, izbacuje error ne mogu da procenim sta je.
Dio skripte:   [pawn]for(new i = 48; i < 54; i++)
      {
          if(IsPlayerInRangeOfPoint(playerid, 2.0, 1525.5757, -1738.6559, 13.1515 && IsPlayerInRangeOfPoint(playerid, 2.0, 1273.6907, -1578.2919, 13.3428 && IsPlayerInRangeOfPoint(playerid, 2.0, 1419.9292, -1039.1467, 23.4597)
      {
            if(FirmaInfo[fVrsta] == VRSTA_SBIZZ)
         {
            x++;
            KioskKupovina[playerid] = i;
            SPD(playerid, DIALOG_TRAFIKA, DIALOG_STYLE_LIST, "{FFFFFF}KIOSK", "{00A2F5}Kredit(20$)\n{00A2F5}Kredit(50$)\n{00A2F5}Kredit(100$)\n{00A2F5}Sok(10$)\n{00A2F5}Cigarete(20$)\n{00A2F5}Kriket upalajc(10$)\n{00A2F5}Cokoladica(30$)\n{00A2F5}Traka(50$)\n{00A2F5}Povez(150$)\n{00A2F5}Imenik(30$)", "Odaberi", "Izlaz");
                break;
         }
         }
   }
   return 1;
}[/pawn]
Neke slike/video za lakse dobivanje pomoci(neobavezno): Erori: [pawn]C:\Old Elite\gamemodes\andrijevic.pwn(32483) : warning 213: tag mismatch
C:\Old Elite\gamemodes\andrijevic.pwn(32483) : error 001: expected token: ",", but found "{"[/pawn]
samo rejv i debele zene

[pawn]for(new i = 48; i < 54; i++)
      {
          if(IsPlayerInRangeOfPoint(playerid, 2.0, 1525.5757, -1738.6559, 13.1515) && IsPlayerInRangeOfPoint(playerid, 2.0, 1273.6907, -1578.2919, 13.3428) && IsPlayerInRangeOfPoint(playerid, 2.0, 1419.9292, -1039.1467, 23.4597))
      {
            if(FirmaInfo[fVrsta] == VRSTA_SBIZZ)
         {
            x++;
            KioskKupovina[playerid] = i;
            SPD(playerid, DIALOG_TRAFIKA, DIALOG_STYLE_LIST, "{FFFFFF}KIOSK", "{00A2F5}Kredit(20$)\n{00A2F5}Kredit(50$)\n{00A2F5}Kredit(100$)\n{00A2F5}Sok(10$)\n{00A2F5}Cigarete(20$)\n{00A2F5}Kriket upalajc(10$)\n{00A2F5}Cokoladica(30$)\n{00A2F5}Traka(50$)\n{00A2F5}Povez(150$)\n{00A2F5}Imenik(30$)", "Odaberi", "Izlaz");
                break;
         }
         }
   }
   return 1;
}[/pawn]
69