PARTNERI:
-UPOZORENJE-

Samo registrovani članovi mogu da vide/koriste forum u celini.
Prijavite se ili registrujte nalog na Balkan SA-MP forumu.


Autor Tema: [Nepravilno] Vehicle Sell Bug  (Pročitano 270 puta)

0 članova i 1 gost pregledaju ovu temu.

Van mreže 🅢🅘🅜🅔🅒

  • Transformer
  • *
  • Poruke: 70
  • Pol: Muškarac
  • Carpe diem!
Vehicle Sell Bug
« poslato: Novembar 15, 2017, 16:14:24 posle podne »
Koristim gamemode od 0 i neke stvari sam dodavao i editova i sad kad se igrac registruje pise da ne moze da kupi vozilo da su sva 3 slota za vozila popunjena, a kad kuca da ih proda pise da su slotovi prazni, mozete li pomoci da otklonim gresku?
         case DIALOG_BUYVEH:
      {
         if(!response)
         {
             VehicleSellOffer[VehiclePlayerOffer[playerid]] = 9999;
            VehicleBuyOffer[playerid] = 9999;
             VehicleForOffer[playerid] = 9999;
             VehicleOfferPrice[playerid] = 0;
            SCM(playerid, BOJA_CRVENA, "Odbili ste da kupite vozilo!");
            SCM(VehiclePlayerOffer[playerid], BOJA_CRVENA, "Igrac je odbio ponudu za vozilo!");
            VehiclePlayerOffer[playerid] = 9999;
         }
         if(response)
         {
             if(GetPlayerMoney(playerid) < VehicleOfferPrice[playerid])
             {
                 VehicleSellOffer[VehiclePlayerOffer[playerid]] = 9999;
               VehicleBuyOffer[playerid] = 9999;
                VehicleForOffer[playerid] = 9999;
                VehicleOfferPrice[playerid] = 0;
               SCM(playerid, BOJA_CRVENA, "Nemate dovoljno novca da kupite vozilo!");
               SCM(VehiclePlayerOffer[playerid], BOJA_CRVENA, "Igrac nema dovoljno novca da kupi vozilo!");
               VehiclePlayerOffer[playerid] = 9999;
             }
             else if(PlayerInfo[playerid][pVehicle1] != 9999 && PlayerInfo[playerid][pVehicle2] != 9999 && PlayerInfo[playerid][pVehicle3] != 9999)
             {
                 VehicleSellOffer[VehiclePlayerOffer[playerid]] = 9999;
               VehicleBuyOffer[playerid] = 9999;
                VehicleForOffer[playerid] = 9999;
                VehicleOfferPrice[playerid] = 0;
               SCM(playerid, BOJA_CRVENA, "Ne mozete kupiti vise vozila!");
               SCM(VehiclePlayerOffer[playerid], BOJA_CRVENA, "Igrac ne moze kupiti vozilo!");
               VehiclePlayerOffer[playerid] = 9999;
             }
             else
             {
                   new sendername[MAX_PLAYER_NAME], player, vID, vMDL;
               sendername = GetPlayerNameEx(playerid);
               player = VehiclePlayerOffer[playerid];
               vID = VehicleForOffer[playerid];
               vMDL = GetVehicleModel(vID);
               //strmid(VehicleInfo[VehicleForOffer[playerid]][vOwner], sendername, 0, strlen(sendername), 999);
               VehicleInfo[vID][vOwner] = sendername;
               VehicleInfo[vID][vLocked] = 1;
               RemovePlayerFromVehicle(player);
               if(PlayerInfo[playerid][pVehicle1] == 9999)
               {
                   PlayerInfo[playerid][pVehicle1] = PlayerInfo[player][pVehicle1];
                   PlayerInfo[playerid][pVehicle1ControlID] = PlayerInfo[player][pVehicle1ControlID];
               }
               else if(PlayerInfo[playerid][pVehicle2] == 9999)
               {
                   PlayerInfo[playerid][pVehicle2] = PlayerInfo[player][pVehicle3];
                   PlayerInfo[playerid][pVehicle2ControlID] = PlayerInfo[player][pVehicle3ControlID];
               }
               else if(PlayerInfo[playerid][pVehicle3] == 9999)
               {
                   PlayerInfo[playerid][pVehicle3] = PlayerInfo[player][pVehicle3];
                   PlayerInfo[playerid][pVehicle3ControlID] = PlayerInfo[player][pVehicle3ControlID];
               }


               if(VehicleInfo[vID][vControlID] == PlayerInfo[player][pVehicle1ControlID])
               {
                   PlayerInfo[player][pVehicle1] = 9999;
                  PlayerInfo[player][pVehicle1ControlID] = 9999;
               }
               else if(VehicleInfo[vID][vControlID] == PlayerInfo[player][pVehicle2ControlID])
               {
                   PlayerInfo[player][pVehicle2] = 9999;
                  PlayerInfo[player][pVehicle2ControlID] = 9999;
               }
               else if(VehicleInfo[vID][vControlID] == PlayerInfo[player][pVehicle3ControlID])
               {
                   PlayerInfo[player][pVehicle3] = 9999;
                  PlayerInfo[player][pVehicle3ControlID] = 9999;
               }
               PlayerInfo[playerid][pMoney] -= VehicleOfferPrice[playerid];
               GivePlayerMoney(playerid, -VehicleOfferPrice[playerid]);
               PlayerInfo[player][pMoney] += VehicleOfferPrice[playerid];
               GivePlayerMoney(player, VehicleOfferPrice[playerid]);
               SCM(playerid, BOJA_ZELENA, "KUPILI STE VOZILO!");
               SCM(player, BOJA_ZELENA, "PRODALI STE VOZILO!");
               SavePlayer(player);
               SavePlayer(playerid);
               SaveVehicle(vID);
               DestroyVehicle(vID);
               OwnedVehicle[vID] = CreateVehicle(vMDL, VehicleInfo[vID][vParkX], VehicleInfo[vID][vParkY], VehicleInfo[vID][vParkZ], VehicleInfo[vID][vParkA], VehicleInfo[vID][vColor1], VehicleInfo[vID][vColor2], -1);
               VehicleSellOffer[player] = 9999;
               VehicleBuyOffer[playerid] = 9999;
                VehicleForOffer[playerid] = 9999;
                VehicleOfferPrice[playerid] = 0;
                VehiclePlayerOffer[playerid] = 9999;
            }
            return 1;
         }
      }

      case DIALOG_VEHICLE_SELL:
      {
         if(!response) return 1;
         if(response)
         {
            if(listitem == 0)
            {
               new vID, str[32];
               if(PlayerInfo[playerid][pVehicle1] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na prvom slotu!");
               if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
               vID = GetPlayerVehicleID(playerid);
               if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle1ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
               PlayerInfo[playerid][pVehicle1] = 9999;
               PlayerInfo[playerid][pVehicle1ControlID] = 9999;
               VehicleInfo[vID][vOwned] = 9999;
               VehicleInfo[vID][vOwner] = 0;
               VehicleInfo[vID][vParkX] = 1590.3740;
               VehicleInfo[vID][vParkY] = -1026.0565;
               VehicleInfo[vID][vParkZ] = 23.9063;
               VehicleInfo[vID][vParkA] = 317.1649;
               VehicleInfo[vID][vLocked] = 0;
               VehicleInfo[vID][vRegistration] = 0;
               VehicleInfo[vID][vControlID] = 0;
               VehicleInfo[vID][vSpoiler] = 0;
               VehicleInfo[vID][vHood] = 0;
               VehicleInfo[vID][vRoof] = 0;
               VehicleInfo[vID][vSideskirt] = 0;
               VehicleInfo[vID][vLamps] = 0;
               VehicleInfo[vID][vNitro] = 0;
               VehicleInfo[vID][vExhaust] = 0;
               VehicleInfo[vID][vWheels] = 0;
               VehicleInfo[vID][vStereo] = 0;
               VehicleInfo[vID][vHydraulics] = 0;
               VehicleInfo[vID][vFront_bumper] = 0;
               VehicleInfo[vID][vRear_bumper] = 0;
               VehicleInfo[vID][vVent_right] = 0;
               VehicleInfo[vID][vVent_left] = 0;
               vEngine[vID] = 0;
               SaveVehicle(vID);
               RemovePlayerFromVehicle(playerid);
               format(str, sizeof(str), VPATH, vID);
               fremove(str);
               DestroyVehicle(vID);
               TogglePlayerControllable(playerid, 1);
               SCM(playerid, BOJA_ZELENA, "Prodali ste vase vozilo.");
               SavePlayer(playerid);
            }
            else if(listitem == 1)
            {
               new vID, str[32];
               if(PlayerInfo[playerid][pVehicle2] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na drugom slotu!");
               if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
               vID = GetPlayerVehicleID(playerid);
               if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle2ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
               PlayerInfo[playerid][pVehicle2] = 9999;
               PlayerInfo[playerid][pVehicle2ControlID] = 9999;
               VehicleInfo[vID][vOwned] = 9999;
               VehicleInfo[vID][vOwner] = 0;
               VehicleInfo[vID][vParkX] = 1590.3740;
               VehicleInfo[vID][vParkY] = -1026.0565;
               VehicleInfo[vID][vParkZ] = 23.9063;
               VehicleInfo[vID][vParkA] = 317.1649;
               VehicleInfo[vID][vLocked] = 0;
               VehicleInfo[vID][vRegistration] = 0;
               VehicleInfo[vID][vControlID] = 0;
               VehicleInfo[vID][vSpoiler] = 0;
               VehicleInfo[vID][vHood] = 0;
               VehicleInfo[vID][vRoof] = 0;
               VehicleInfo[vID][vSideskirt] = 0;
               VehicleInfo[vID][vLamps] = 0;
               VehicleInfo[vID][vNitro] = 0;
               VehicleInfo[vID][vExhaust] = 0;
               VehicleInfo[vID][vWheels] = 0;
               VehicleInfo[vID][vStereo] = 0;
               VehicleInfo[vID][vHydraulics] = 0;
               VehicleInfo[vID][vFront_bumper] = 0;
               VehicleInfo[vID][vRear_bumper] = 0;
               VehicleInfo[vID][vVent_right] = 0;
               VehicleInfo[vID][vVent_left] = 0;
               vEngine[vID] = 0;
               SaveVehicle(vID);
               RemovePlayerFromVehicle(playerid);
               format(str, sizeof(str), VPATH, vID);
               fremove(str);
               DestroyVehicle(vID);
               CreateVehicle(515, 2228.1001000, 2458.8999000, -6.3000000, 270.0000000, 0, 0, -1); //Roadtrain
               TogglePlayerControllable(playerid, 1);
               SCM(playerid, BOJA_ZELENA, "Prodali ste vase vozilo.");
               SavePlayer(playerid);
            }
            else if(listitem == 2)
            {
               new vID, str[32];
               if(PlayerInfo[playerid][pVehicle3] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na trecem slotu!");
               if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
               vID = GetPlayerVehicleID(playerid);
               if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle3ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
               PlayerInfo[playerid][pVehicle3] = 9999;
               PlayerInfo[playerid][pVehicle3ControlID] = 9999;
               VehicleInfo[vID][vOwned] = 9999;
               VehicleInfo[vID][vOwner] = 0;
               VehicleInfo[vID][vParkX] = 1590.3740;
               VehicleInfo[vID][vParkY] = -1026.0565;
               VehicleInfo[vID][vParkZ] = 23.9063;
               VehicleInfo[vID][vParkA] = 317.1649;
               VehicleInfo[vID][vLocked] = 0;
               VehicleInfo[vID][vRegistration] = 0;
               VehicleInfo[vID][vControlID] = 0;
               VehicleInfo[vID][vSpoiler] = 0;
               VehicleInfo[vID][vHood] = 0;
               VehicleInfo[vID][vRoof] = 0;
               VehicleInfo[vID][vSideskirt] = 0;
               VehicleInfo[vID][vLamps] = 0;
               VehicleInfo[vID][vNitro] = 0;
               VehicleInfo[vID][vExhaust] = 0;
               VehicleInfo[vID][vWheels] = 0;
               VehicleInfo[vID][vStereo] = 0;
               VehicleInfo[vID][vHydraulics] = 0;
               VehicleInfo[vID][vFront_bumper] = 0;
               VehicleInfo[vID][vRear_bumper] = 0;
               VehicleInfo[vID][vVent_right] = 0;
               VehicleInfo[vID][vVent_left] = 0;
               vEngine[vID] = 0;
               SaveVehicle(vID);
               RemovePlayerFromVehicle(playerid);
               format(str, sizeof(str), VPATH, vID);
               fremove(str);
               DestroyVehicle(vID);
               CreateVehicle(515, 2228.1001000, 2458.8999000, -6.3000000, 270.0000000, 0, 0, -1); //Roadtrain
               TogglePlayerControllable(playerid, 1);
               SCM(playerid, BOJA_ZELENA, "Prodali ste vase vozilo.");
               SavePlayer(playerid);
            }
            return 1;
         }
      }

     
            }
            return 1;
         }
      }
[code]//---------------------------------------------------------------------------- > VEHICLES
YCMD:v(playerid, params[], help)
{
   new command[16];
   if(sscanf(params, "s[16]", command))
   {
      SCM(playerid, BOJA_PLAVA, "KORISCENJE: /v(ehicle) [komanda]");
      SCM(playerid, BOJA_PLAVA, "Dostupne komande: buy, sell[1-3], sellto, park[1-3], lock[1-3], find[1-3], color[1-3], paintjob[1-3], save[1-3], menu");
   }
   else
   {
      if(strcmp(command, "buy", true) == 0)
      {
            new sendername[MAX_PLAYER_NAME];
         sendername = GetPlayerNameEx(playerid);
         new vID = GetPlayerVehicleID(playerid);
         new vMDL = GetVehicleModel(vID);
         new vehicle = 1;
         if(!IsASalesVehicle(vID)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Ovo vozilo nije na prodaju!");
         if((vID == 411 || vID == 415 || vID == 451 || vID == 495 || vID == 522 || vID == 541) && PlayerInfo[playerid][pDonator] == 999999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Ne mozete kupiti ovo vozilo! Niste donator!");
         if(PlayerInfo[playerid][pVehicle1] != 999999 && PlayerInfo[playerid][pVehicle2] != 999999 && PlayerInfo[playerid][pVehicle3] != 999999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Ne mozete kupiti vise vozila!");
         if(GetPlayerMoney(playerid) < GetVehiclePrice(vID)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate dovoljno novca da bi kupili ovo vozilo!");

         for(new v = 1; v < sizeof(VehicleInfo); v++)
         {
            if(VehicleInfo[v][vOwned] == 0 || VehicleInfo[v][vOwned] == 9999)
            {
               vehicle = v;
               break;
            }
         }

         if(PlayerInfo[playerid][pVehicle1] == 9999)
         {
            PlayerInfo[playerid][pVehicle1] = vMDL;
            PlayerInfo[playerid][pVehicle1ControlID] = vehicle;
         }
         else if(PlayerInfo[playerid][pVehicle2] == 9999)
         {
            PlayerInfo[playerid][pVehicle2] = vMDL;
            PlayerInfo[playerid][pVehicle2ControlID] = vehicle;

         }
         else if(PlayerInfo[playerid][pVehicle3] == 9999)
         {
            PlayerInfo[playerid][pVehicle3] = vMDL;
            PlayerInfo[playerid][pVehicle3ControlID] = vehicle;
         }
         else { return 1;}

         new model[64];
         GetVehicleName(vMDL, model, sizeof(model));

         new spawn;
         spawn = random(sizeof(VehicleSpawns));

         VehicleInfo[vehicle][vOwned] = 1;
         strmid(VehicleInfo[vehicle][vOwner], sendername, 0, strlen(sendername), 999);
         VehicleInfo[vehicle][vModel] = vMDL;
         VehicleInfo[vehicle][vParkX] = VehicleSpawns[spawn][0];
         VehicleInfo[vehicle][vParkY] = VehicleSpawns[spawn][1];
         VehicleInfo[vehicle][vParkZ] = VehicleSpawns[spawn][2];
         VehicleInfo[vehicle][vParkA] = VehicleSpawns[spawn][3];
         VehicleInfo[vehicle][vColor1] = 1;
         VehicleInfo[vehicle][vColor2] = 1;
         VehicleInfo[vehicle][vPaintjob] = 9999;
         VehicleInfo[vehicle][vLocked] = 1;
         VehicleInfo[vehicle][vRegistration] = 0;
         VehicleInfo[vehicle][vControlID] = vehicle;
         SaveVehicle(vehicle);
         DestroyVehicle(vehicle);
         OwnedVehicle[vehicle] = CreateVehicle(vMDL, VehicleInfo[vehicle][vParkX], VehicleInfo[vehicle][vParkY], VehicleInfo[vehicle][vParkZ], VehicleInfo[vehicle][vParkA], VehicleInfo[vehicle][vColor1], VehicleInfo[vehicle][vColor2], -1);
         SCM(playerid, BOJA_ZELENA, "Kupili ste vozilo. Vozilo je na parkingu, preuzmite ga.");
            PlayerInfo[playerid][pMoney] -= GetVehiclePrice(vID);
         GivePlayerMoney(playerid, -GetVehiclePrice(vID));
         SavePlayer(playerid);
      }
        else if(strcmp(command, "sell1", true) == 0)
      {
            new vID;
         if(PlayerInfo[playerid][pVehicle1] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na prvom slotu!");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle1ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         PlayerInfo[playerid][pVehicle1] = 9999;
         PlayerInfo[playerid][pVehicle1ControlID] = 9999;
         VehicleInfo[vID][vOwned] = 9999;
         VehicleInfo[vID][vOwner] = 0;
         VehicleInfo[vID][vParkX] = 1590.3740;
         VehicleInfo[vID][vParkY] = -1026.0565;
         VehicleInfo[vID][vParkZ] = 23.9063;
         VehicleInfo[vID][vParkA] = 317.1649;
         VehicleInfo[vID][vLocked] = 0;
         VehicleInfo[vID][vRegistration] = 0;
         VehicleInfo[vID][vControlID] = vID;
         VehicleInfo[vID][vSpoiler] = 0;
         VehicleInfo[vID][vHood] = 0;
         VehicleInfo[vID][vRoof] = 0;
         VehicleInfo[vID][vSideskirt] = 0;
         VehicleInfo[vID][vLamps] = 0;
         VehicleInfo[vID][vNitro] = 0;
         VehicleInfo[vID][vExhaust] = 0;
         VehicleInfo[vID][vWheels] = 0;
         VehicleInfo[vID][vStereo] = 0;
         VehicleInfo[vID][vHydraulics] = 0;
         VehicleInfo[vID][vFront_bumper] = 0;
         VehicleInfo[vID][vRear_bumper] = 0;
         VehicleInfo[vID][vVent_right] = 0;
         VehicleInfo[vID][vVent_left] = 0;
         vEngine[vID] = 0;
         SaveVehicle(vID);
         RemovePlayerFromVehicle(playerid);
         DestroyVehicle(vID);
         CreateVehicle(400, -1000, 4000, 1, 0, 1, 1, -1);
         TogglePlayerControllable(playerid, 1);
         SavePlayer(playerid);
         SCM(playerid, BOJA_ZELENA, "Prodali ste vase vozilo.");
         SavePlayer(playerid);
      }
      else if(strcmp(command, "sell2", true) == 0)
      {
            new vID;
            if(PlayerInfo[playerid][pVehicle2] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na drugom slotu!");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle2ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         PlayerInfo[playerid][pVehicle2] = 9999;
         PlayerInfo[playerid][pVehicle2ControlID] = 9999;
         VehicleInfo[vID][vOwned] = 9999;
         VehicleInfo[vID][vOwner] = 0;
         VehicleInfo[vID][vParkX] = 1590.3740;
         VehicleInfo[vID][vParkY] = -1026.0565;
         VehicleInfo[vID][vParkZ] = 23.9063;
         VehicleInfo[vID][vParkA] = 317.1649;
         VehicleInfo[vID][vLocked] = 0;
         VehicleInfo[vID][vRegistration] = 0;
         VehicleInfo[vID][vControlID] = 0;
         VehicleInfo[vID][vSpoiler] = 0;
         VehicleInfo[vID][vHood] = 0;
         VehicleInfo[vID][vRoof] = 0;
         VehicleInfo[vID][vSideskirt] = 0;
         VehicleInfo[vID][vLamps] = 0;
         VehicleInfo[vID][vNitro] = 0;
         VehicleInfo[vID][vExhaust] = 0;
         VehicleInfo[vID][vWheels] = 0;
         VehicleInfo[vID][vStereo] = 0;
         VehicleInfo[vID][vHydraulics] = 0;
         VehicleInfo[vID][vFront_bumper] = 0;
         VehicleInfo[vID][vRear_bumper] = 0;
         VehicleInfo[vID][vVent_right] = 0;
         VehicleInfo[vID][vVent_left] = 0;
         vEngine[vID] = 0;
         SaveVehicle(vID);
         RemovePlayerFromVehicle(playerid);
         DestroyVehicle(vID);
         CreateVehicle(400, -1000, 4000, 1, 0, 1, 1, -1);
         TogglePlayerControllable(playerid, 1);
         SCM(playerid, BOJA_ZELENA, "Prodali ste vase vozilo.");
         SavePlayer(playerid);
      }
      else if(strcmp(command, "sell3", true) == 0)
      {
            new vID;
         if(PlayerInfo[playerid][pVehicle3] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na trecem slotu!");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle3ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         PlayerInfo[playerid][pVehicle3] = 9999;
         PlayerInfo[playerid][pVehicle3ControlID] = 9999;
         VehicleInfo[vID][vOwned] = 9999;
         VehicleInfo[vID][vOwner] = 0;
         VehicleInfo[vID][vParkX] = 1590.3740;
         VehicleInfo[vID][vParkY] = -1026.0565;
         VehicleInfo[vID][vParkZ] = 23.9063;
         VehicleInfo[vID][vParkA] = 317.1649;
         VehicleInfo[vID][vLocked] = 0;
         VehicleInfo[vID][vRegistration] = 0;
         VehicleInfo[vID][vControlID] = 0;
         VehicleInfo[vID][vSpoiler] = 0;
         VehicleInfo[vID][vHood] = 0;
         VehicleInfo[vID][vRoof] = 0;
         VehicleInfo[vID][vSideskirt] = 0;
         VehicleInfo[vID][vLamps] = 0;
         VehicleInfo[vID][vNitro] = 0;
         VehicleInfo[vID][vExhaust] = 0;
         VehicleInfo[vID][vWheels] = 0;
         VehicleInfo[vID][vStereo] = 0;
         VehicleInfo[vID][vHydraulics] = 0;
         VehicleInfo[vID][vFront_bumper] = 0;
         VehicleInfo[vID][vRear_bumper] = 0;
         VehicleInfo[vID][vVent_right] = 0;
         VehicleInfo[vID][vVent_left] = 0;
         vEngine[vID] = 0;
         SaveVehicle(vID);
         RemovePlayerFromVehicle(playerid);
         DestroyVehicle(vID);
         CreateVehicle(400, -1000, 4000, 1, 0, 1, 1, -1);
         TogglePlayerControllable(playerid, 1);
         SCM(playerid, BOJA_ZELENA, "Prodali ste vase vozilo.");
         SavePlayer(playerid);
      }
      else if(!strfind(command, "sellto"))
      {
          new sendername[MAX_PLAYER_NAME], vID, target, price, vehicle[32], Float:X, Float:Y, Float:Z, str[512];
         if(sscanf(params, "s[16]ii", command, target, price)) return SCM(playerid, BOJA_PLAVA, "KORISCENJE: /sellto [id igraca/deo imena] [cena]");
         if(VehicleSellOffer[playerid] != 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Vec ste ponudili prodaju vozila!");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         vID = GetPlayerVehicleID(playerid);
         GetVehiclePos(vID, X, Y, Z);
         GetVehicleName(vID, vehicle, sizeof(vehicle));
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle1ControlID] && VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle2ControlID] && VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle3ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u svom vozilu!");
         if(!IsPlayerInRangeOfPoint(target, 7.0, X, Y, Z)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Igrac nije blizu vas!");
         VehicleSellOffer[playerid] = 1;
         VehicleBuyOffer[target] = 1;
          VehicleForOffer[target] = vID;
         VehiclePlayerOffer[target] = playerid;
         VehicleOfferPrice[target] = price;
         SetTimerEx("VehicleStopOffer", 10000, false, "ii", playerid, target);
         format(str, sizeof(str), "\n"PLAVA"Vozilo"BELA": %s\n "PLAVA"Trenutni vlasnik"BELA": %s\n "PLAVA"Cena"BELA": %d\n "PLAVA"Registrovan"BELA": %s\n", vehicle, VehicleInfo[vID][vOwner], price, GetVehicleRegistration(vID));
         SPD(target, DIALOG_BUYVEH, DIALOG_STYLE_MSGBOX, ""PLAVA"KUPOVINA VOZILA", str, "Kupi", "Odbij");
         sendername = GetPlayerNameEx(target);
         format(str, sizeof(str), "Ponudili ste igracu %s da kupi vase vozilo.", sendername);
         SCM(playerid, BOJA_ZELENA, str);
         sendername = GetPlayerNameEx(playerid);
         format(str, sizeof(str), "Igrac %s Vam je ponudio da kupite njegovo vozilo.", sendername);
         SCM(target, BOJA_ZELENA, str);
      }
      else if(strcmp(command, "park1", true) == 0)
      {
         new vID, vMDL, Float:X, Float:Y, Float:Z, Float:A;
         if(PlayerInfo[playerid][pVehicle1] == 9999 && PlayerInfo[playerid][pVehicle2] == 9999 && PlayerInfo[playerid][pVehicle3] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo!");
            if(PlayerInfo[playerid][pVehicle1] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na prvom slotu!");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         vID = GetPlayerVehicleID(playerid);
         vMDL = GetVehicleModel(vID);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle1ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         GetVehiclePos(vID, X, Y, Z);
         GetVehicleZAngle(vID, A);
         VehicleInfo[vID][vParkX] = X;
         VehicleInfo[vID][vParkY] = Y;
         VehicleInfo[vID][vParkZ] = Z;
         VehicleInfo[vID][vParkA] = A;
         vEngine[vID] = 0;
         RemovePlayerFromVehicle(playerid);
         DestroyVehicle(vID);
         OwnedVehicle[vID] = CreateVehicle(vMDL, VehicleInfo[vID][vParkX], VehicleInfo[vID][vParkY], VehicleInfo[vID][vParkZ], VehicleInfo[vID][vParkA], VehicleInfo[vID][vColor1], VehicleInfo[vID][vColor2], -1);
         SetVehicleComponents(vID);
         TogglePlayerControllable(playerid, 1);
         SCM(playerid, BOJA_ZELENA, "Parkirali ste vase vozilo.");
         SaveVehicle(vID);
      }
      else if(strcmp(command, "park2", true) == 0)
      {
         new vID, vMDL, Float:X, Float:Y, Float:Z, Float:A;
         if(PlayerInfo[playerid][pVehicle1] == 9999 && PlayerInfo[playerid][pVehicle2] == 9999 && PlayerInfo[playerid][pVehicle3] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo!");
         if(PlayerInfo[playerid][pVehicle2] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na drugom slotu!");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         vID = GetPlayerVehicleID(playerid);
         vMDL = GetVehicleModel(vID);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle2ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         GetVehiclePos(vID, X, Y, Z);
         GetVehicleZAngle(vID, A);
         VehicleInfo[vID][vParkX] = X;
         VehicleInfo[vID][vParkY] = Y;
         VehicleInfo[vID][vParkZ] = Z;
         VehicleInfo[vID][vParkA] = A;
         vEngine[vID] = 0;
         RemovePlayerFromVehicle(playerid);
         DestroyVehicle(vID);
         OwnedVehicle[vID] = CreateVehicle(vMDL, VehicleInfo[vID][vParkX], VehicleInfo[vID][vParkY], VehicleInfo[vID][vParkZ], VehicleInfo[vID][vParkA], VehicleInfo[vID][vColor1], VehicleInfo[vID][vColor2], -1);
         SetVehicleComponents(vID);
         TogglePlayerControllable(playerid, 1);
         SCM(playerid, BOJA_ZELENA, "Parkirali ste vase vozilo.");
         SaveVehicle(vID);
      }
      else if(strcmp(command, "park3", true) == 0)
      {
         new vID, vMDL, Float:X, Float:Y, Float:Z, Float:A;
         if(PlayerInfo[playerid][pVehicle1] == 9999 && PlayerInfo[playerid][pVehicle2] == 9999 && PlayerInfo[playerid][pVehicle3] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo!");
            if(PlayerInfo[playerid][pVehicle3] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na trecem slotu!");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         vID = GetPlayerVehicleID(playerid);
         vMDL = GetVehicleModel(vID);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle3ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         GetVehiclePos(vID, X, Y, Z);
         GetVehicleZAngle(vID, A);
         VehicleInfo[vID][vParkX] = X;
         VehicleInfo[vID][vParkY] = Y;
         VehicleInfo[vID][vParkZ] = Z;
         VehicleInfo[vID][vParkA] = A;
         vEngine[vID] = 0;
         RemovePlayerFromVehicle(playerid);
         DestroyVehicle(vID);
         OwnedVehicle[vID] = CreateVehicle(vMDL, VehicleInfo[vID][vParkX], VehicleInfo[vID][vParkY], VehicleInfo[vID][vParkZ], VehicleInfo[vID][vParkA], VehicleInfo[vID][vColor1], VehicleInfo[vID][vColor2], -1);
         SetVehicleComponents(vID);
         TogglePlayerControllable(playerid, 1);
         SCM(playerid, BOJA_ZELENA, "Parkirali ste vase vozilo.");
         SaveVehicle(vID);
      }
      else if(strcmp(command, "lock1", true) == 0)
      {
          new Float:VX, Float:VY, Float:VZ;
          if(PlayerInfo[playerid][pVehicle1] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na prvom slotu!");
            new vehicle = PlayerInfo[playerid][pVehicle1ControlID];
          GetVehiclePos(vehicle, VX, VY, VZ);
           if(IsPlayerInRangeOfPoint(playerid, 50.0, VX, VY, VZ))
         {
               if(VehicleInfo[vehicle][vLocked] == 1)
               {
                  SetVehicleParamsForPlayer(vehicle, playerid, 0, 0);
                  GameTextForPlayer(playerid, "~g~Vozilo otkljucano!", 2000, 3);
                  VehicleInfo[vehicle][vLocked] = 0;
                  SaveVehicle(vehicle);
                  return 1;
               }
               else
               {
                  SetVehicleParamsForPlayer(playerid, playerid, 0, 1);
                   GameTextForPlayer(playerid, "~r~Vozilo zakljucano!", 2000, 3);
                   VehicleInfo[vehicle][vLocked] = 1;
                   SaveVehicle(vehicle);
               }
         }
         else SCM(playerid, BOJA_CRVENA, "GRESKA: Niste blizu svog vozila!");
      }
      else if(strcmp(command, "lock2", true) == 0)
      {
          new Float:VX, Float:VY, Float:VZ;
          if(PlayerInfo[playerid][pVehicle2] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na drugom slotu!");
            new vehicle = PlayerInfo[playerid][pVehicle2ControlID];
          GetVehiclePos(vehicle, VX, VY, VZ);
           if(IsPlayerInRangeOfPoint(playerid, 50.0, VX, VY, VZ))
         {
               if(VehicleInfo[vehicle][vLocked] == 1)
               {
                  SetVehicleParamsForPlayer(vehicle, playerid, 0, 0);
                  GameTextForPlayer(playerid, "~g~Vozilo otkljucano!", 2000, 3);
                  VehicleInfo[vehicle][vLocked] = 0;
                  SaveVehicle(vehicle);
                  return 1;
               }
               else
               {
                  SetVehicleParamsForPlayer(playerid, playerid, 0, 1);
                   GameTextForPlayer(playerid, "~r~Vozilo zakljucano!", 2000, 3);
                   VehicleInfo[vehicle][vLocked] = 1;
                   SaveVehicle(vehicle);
               }
         }
         else SCM(playerid, BOJA_CRVENA, "GRESKA: Niste blizu svog vozila!");
      }
      else if(strcmp(command, "lock3", true) == 0)
      {
          new Float:VX, Float:VY, Float:VZ;
          if(PlayerInfo[playerid][pVehicle3] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na trecem slotu!");
            new vehicle = PlayerInfo[playerid][pVehicle3ControlID];
          GetVehiclePos(vehicle, VX, VY, VZ);
           if(IsPlayerInRangeOfPoint(playerid, 50.0, VX, VY, VZ))
         {
               if(VehicleInfo[vehicle][vLocked] == 1)
               {
                  SetVehicleParamsForPlayer(vehicle, playerid, 0, 0);
                  GameTextForPlayer(playerid, "~g~Vozilo otkljucano!", 2000, 3);
                  VehicleInfo[vehicle][vLocked] = 0;
                  SaveVehicle(vehicle);
                  return 1;
               }
               else
               {
                  SetVehicleParamsForPlayer(playerid, playerid, 0, 1);
                   GameTextForPlayer(playerid, "~r~Vozilo zakljucano!", 2000, 3);
                   VehicleInfo[vehicle][vLocked] = 1;
                   SaveVehicle(vehicle);
               }
         }
         else SCM(playerid, BOJA_CRVENA, "GRESKA: Niste blizu svog vozila!");
      }
      else if(strcmp(command, "find1", true) == 0)
      {
          if(OnATruckMission[playerid] != 9999 || DetectiveSearchingOffer[playerid] != 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Na poslu ste!");
          if(PlayerInfo[playerid][pVehicle1] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na prvom slotu!");
          new Float:X, Float:Y, Float:Z;
            new vehicle = PlayerInfo[playerid][pVehicle1ControlID];
            GetVehiclePos(vehicle, X, Y, Z);
            SetPlayerCheckpoint(playerid, X, Y, Z, 5.0);
            vSearching[playerid] = 1;
            SCM(playerid, BOJA_ZELENA, "Vase vozilo je oznaceno na mapi.");
      }
      else if(strcmp(command, "find2", true) == 0)
      {
          if(OnATruckMission[playerid] != 9999 || DetectiveSearchingOffer[playerid] != 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Na poslu ste!");
          if(PlayerInfo[playerid][pVehicle2] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na drugom slotu!");
          new Float:X, Float:Y, Float:Z;
            new vehicle = PlayerInfo[playerid][pVehicle2ControlID];
            GetVehiclePos(vehicle, X, Y, Z);
            SetPlayerCheckpoint(playerid, X, Y, Z, 5.0);
            vSearching[playerid] = 1;
            SCM(playerid, BOJA_ZELENA, "Vase vozilo je oznaceno na mapi.");
      }
      else if(strcmp(command, "find3", true) == 0)
      {
          if(OnATruckMission[playerid] != 9999 || DetectiveSearchingOffer[playerid] != 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Na poslu ste!");
          if(PlayerInfo[playerid][pVehicle3] == 9999) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate vozilo na trecem slotu!");
          new Float:X, Float:Y, Float:Z;
            new vehicle = PlayerInfo[playerid][pVehicle3ControlID];
            GetVehiclePos(vehicle, X, Y, Z);
            SetPlayerCheckpoint(playerid, X, Y, Z, 5.0);
            vSearching[playerid] = 1;
            SCM(playerid, BOJA_ZELENA, "Vase vozilo je oznaceno na mapi.");
      }
      else if(!strfind(command, "color1"))
      {
          new color1, color2;
         if(sscanf(params, "s[16]ii", command, color1, color2)) return SCM(playerid, BOJA_PLAVA, "KORISCENJE: /v(ehicle) [color] [boja 1] [boja 2]");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         new vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle1ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         if(GetPlayerMoney(playerid) < 2500) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate dovoljno novca! ($2500)");
            PlayerInfo[playerid][pMoney] -= 2500;
            GivePlayerMoney(playerid, -2500);
         SavePlayer(playerid);
         ChangeVehicleColor(vID, color1, color2);
         VehicleInfo[vID][vColor1] = color1;
         VehicleInfo[vID][vColor2] = color2;
         SaveVehicle(vID);
         SCM(playerid, BOJA_ZELENA, "Promenili ste boju vaseg vozila.");
      }
      else if(!strfind(command, "color2"))
      {
          new color1, color2;
         if(sscanf(params, "s[16]ii", command, color1, color2)) return SCM(playerid, BOJA_PLAVA, "KORISCENJE: /v(ehicle) [color] [boja 1] [boja 2]");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         new vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle2ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         if(GetPlayerMoney(playerid) < 2500) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate dovoljno novca! ($2500)");
            PlayerInfo[playerid][pMoney] -= 2500;
          GivePlayerMoney(playerid, -2500);
         SavePlayer(playerid);
         ChangeVehicleColor(vID, color1, color2);
         VehicleInfo[vID][vColor1] = color1;
         VehicleInfo[vID][vColor2] = color2;
         SaveVehicle(vID);
         SCM(playerid, BOJA_ZELENA, "Promenili ste boju vaseg vozila.");
      }
      else if(!strfind(command, "color3"))
      {
          new color1, color2;
         if(sscanf(params, "s[16]ii", command, color1, color2)) return SCM(playerid, BOJA_PLAVA, "KORISCENJE: /v(ehicle) [color] [boja 1] [boja 2]");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         new vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle3ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         if(GetPlayerMoney(playerid) < 2500) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate dovoljno novca! ($2500)");
            PlayerInfo[playerid][pMoney] -= 2500;
            GivePlayerMoney(playerid, -2500);
         SavePlayer(playerid);
         ChangeVehicleColor(vID, color1, color2);
         VehicleInfo[vID][vColor1] = color1;
         VehicleInfo[vID][vColor2] = color2;
         SaveVehicle(vID);
         SCM(playerid, BOJA_ZELENA, "Promenili ste boju vaseg vozila.");
      }
      else if(!strfind(command, "paintjob1"))
      {
          new paintjob;
         if(sscanf(params, "s[16]ii", command, paintjob)) return SCM(playerid, BOJA_PLAVA, "KORISCENJE: /v(ehicle) [paintjob] [paintjob id]");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         new vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle1ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         if(GetPlayerMoney(playerid) < 5000) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate dovoljno novca! ($5000)");
            PlayerInfo[playerid][pMoney] -= 5000;
            GivePlayerMoney(playerid, -5000);
         SavePlayer(playerid);
         ChangeVehiclePaintjob(vID, paintjob);
         VehicleInfo[vID][vPaintjob] = paintjob;
         SaveVehicle(vID);
         SCM(playerid, BOJA_ZELENA, "Promenili ste boju vaseg vozila.");

      }
      else if(!strfind(command, "paintjob2"))
      {
          new paintjob;
         if(sscanf(params, "s[16]ii", command, paintjob)) return SCM(playerid, BOJA_PLAVA, "KORISCENJE: /v(ehicle) [paintjob] [paintjob id]");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         new vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle2ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         if(GetPlayerMoney(playerid) < 5000) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate dovoljno novca! ($5000)");
            PlayerInfo[playerid][pMoney] -= 5000;
         GivePlayerMoney(playerid, -5000);
         SavePlayer(playerid);
         ChangeVehiclePaintjob(vID, paintjob);
         VehicleInfo[vID][vPaintjob] = paintjob;
         SaveVehicle(vID);
         SCM(playerid, BOJA_ZELENA, "Promenili ste boju vaseg vozila.");

      }
      else if(!strfind(command, "paintjob3"))
      {
          new paintjob;
         if(sscanf(params, "s[16]ii", command, paintjob)) return SCM(playerid, BOJA_PLAVA, "KORISCENJE: /v(ehicle) [paintjob] [paintjob id]");
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         new vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle3ControlID]) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vasem vozilu!");
         if(GetPlayerMoney(playerid) < 5000) return SCM(playerid, BOJA_CRVENA, "GRESKA: Nemate dovoljno novca! ($5000)");
            PlayerInfo[playerid][pMoney] -= 5000;
            GivePlayerMoney(playerid, -5000);
         SavePlayer(playerid);
         ChangeVehiclePaintjob(vID, paintjob);
         VehicleInfo[vID][vPaintjob] = paintjob;
         SaveVehicle(vID);
         SCM(playerid, BOJA_ZELENA, "Promenili ste boju vaseg vozila.");

      }
      else if(strcmp(command, "save1", true) == 0)
      {
         if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, BOJA_CRVENA, "GRESKA: Niste u vozilu!");
         new vID = GetPlayerVehicleID(playerid);
         if(VehicleInfo[vID][vControlID] != PlayerInfo[playerid][pVehicle1ControlID]) return SCM(playerid, BOJA_CRVENA, "GRSKA: Niste u vasem vozilu!");
         SaveVehicleComponents(vID);
         SCM(playerid, BOJA_ZELENA, "Sacuvali ste komponente vaseg vozila.");
      }
      else if(strcmp(command, "save2", true) == 0)
      {
    &
« Poslednja izmena: Novembar 15, 2017, 17:58:01 posle podne anDro_ »
Old Express
 

Van mreže androo

Odg: Vehicle Sell Bug
« Odgovor #1 poslato: Novembar 15, 2017, 17:57:33 posle podne »
lock, pokrenu temu po pravilima.