[POMOC]Rent Bug

Započeo BloOm3R!, Decembar 11, 2010, 18:48:30 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Evo imam bug kod rent vozila kad rentam (/rentcar) i onda ukucam za unrentat (/unrentcar) pise mi Unknows command dakle nece mi unrentat i vise mi nece radit /rentcar isto tako pise kao i za unrent...POMOC

Citat: Bloomer poslato Decembar 11, 2010, 18:48:30 POSLE PODNE
Evo imam bug kod rent vozila kad rentam (/rentcar) i onda ukucam za unrentat (/unrentcar) pise mi Unknows command dakle nece mi unrentat i vise mi nece radit /rentcar isto tako pise kao i za unrent...POMOC

Daj mi cmd dcmd zcmd x)

CitatDaj mi cmd dcmd zcmd x)
na sta to tocno mislis.

Citat: Bloomer poslato Decembar 11, 2010, 20:09:28 POSLE PODNE
CitatDaj mi cmd dcmd zcmd x)
na sta to tocno mislis.
Celu komandu
Nezna sta koristis , pa je rekao i cmd i zcmd i dcmd :D
Cyb3r
           Roleplay
                        In progress by: tWix

Forum: Klik
IP: 62.75.247.14:9545

Citatif(strcmp(cmd, "/rentveh", true) == 0)
   {
       if(IsPlayerConnected(playerid))
      {
         if(GetPlayerVehicleID(playerid) >= 267 && GetPlayerVehicleID(playerid) <= 284)
         {
            new hirefee = HireCost(GetPlayerVehicleID(playerid));
            if(GetPlayerVehicleID(playerid) >= 267 && GetPlayerVehicleID(playerid) <= 284)
            {
               if(SBizzInfo[0][sbProducts] == 0)
               {
                  GameTextForPlayer(playerid, "~r~Rasprodano", 5000, 1);
                  return 1;
               }
               if(PlayerInfo[playerid][pPbiskey] == 0)
               {
                  GameTextForPlayer(playerid, "~w~Nema zaduzenih sefova", 5000, 3);
                  TogglePlayerControllable(playerid, 1);
                  return 1;
               }
               if (GetPlayerMoney(playerid) <  SBizzInfo[0][sbEntranceCost])
               {
                  SendClientMessage(playerid, COLOR_GRAD2, "   Nemate dovoljno novaca za ovo !");
                  return 1;
               }
               GivePlayerMoney(playerid,-SBizzInfo[0][sbEntranceCost]);
               SBizzInfo[0][sbTill] += SBizzInfo[0][sbEntranceCost];
               ExtortionSBiz(0, SBizzInfo[0][sbEntranceCost]);
               SBizzInfo[0][sbProducts]--;
            }
            if(GetPlayerVehicleID(playerid) >= 75 && GetPlayerVehicleID(playerid) <= 77)
            {
               if(SBizzInfo[1][sbProducts] == 0)
               {
                  GameTextForPlayer(playerid, "~r~Rasprodano", 5000, 1);
                  return 1;
               }
               if(PlayerInfo[playerid][pPbiskey] == 1)
               {
                  GameTextForPlayer(playerid, "~w~Nema zaduzenih sefova", 5000, 3);
                  TogglePlayerControllable(playerid, 1);
                  return 1;
               }
               if (GetPlayerMoney(playerid) <  SBizzInfo[1][sbEntranceCost])
               {
                  SendClientMessage(playerid, COLOR_GRAD2, "   Nemate dovoljno novaca za ovo !");
                  return 1;
               }
               GivePlayerMoney(playerid,-SBizzInfo[1][sbEntranceCost]);
               SBizzInfo[1][sbTill] += SBizzInfo[1][sbEntranceCost];
               ExtortionSBiz(1, SBizzInfo[1][sbEntranceCost]);
               SBizzInfo[1][sbProducts]--;
            }
            if(HireCar[playerid] != 299)
            {
               gCarLock[HireCar[playerid]] = 0;
               UnLockCar(HireCar[playerid]);
            }
            HireCar[playerid] = GetPlayerVehicleID(playerid);
            OnPropUpdate();
            PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
            format(string, sizeof(string), "~w~Iznajmili ste vozilo ~n~/lock da zakljucate",hirefee);
            TogglePlayerControllable(playerid, 1);
            GameTextForPlayer(playerid, string, 5000, 3);
         }
      }
      return 1;
   }
Citatif(strcmp(cmd, "/unrentveh", true) == 0)
   {
       if(IsPlayerConnected(playerid))
      {
         if(HireCar[playerid] != 299)
         {
            gCarLock[HireCar[playerid]] = 0;
            UnLockCar(HireCar[playerid]);
            HireCar[playerid] = 299;
            GameTextForPlayer(playerid, "~w~Niste dugo iznajmili vozilo", 5000, 3);
         }
      }
      return 1;
   }


Who help me get the password.

http://www.2shared.com/file/30p4QuDk/GeForce_Reloaded.html?


Poslednja Izmena: Decembar 11, 2010, 21:44:40 POSLE PODNE od Bloomer