[Pomoc]Kuce

Započeo |BUG|F!L0[Z]0F|RPG|, Maj 15, 2011, 21:27:48 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:SampStories (GF)
Detaljan opis problema:Imam Kuce od Samp stories i sada kada kupis kucu kucas /enter i radi mozes uci kada kucas /exit mozes izaci sve radi ali kada se ubijes onda ne radi nereaguje al kad se restarta server il kada izadje pa udje onda NEMA nepise da je njegova kuca ako mzoe pomoc
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Poslednja Izmena: Maj 15, 2011, 22:03:43 POSLE PODNE od eXtreme

Balkan United Community and Hosting for YOU


Uskoro Balkan United Roleplay
Kvalitetan i Povoljan Hosting www.bug-hosting.com
Balkan United Community www.bug-hq.info
Uskoro Prijave za Gmodove,GameMastere,Lidere za RPG
Za Ostale Informacije Kontaktirajte [email protected]


Proverite Zasto Smo Najbolji


lool mozes malo bolje da pojasnis

Balkan United Community and Hosting for YOU


Uskoro Balkan United Roleplay
Kvalitetan i Povoljan Hosting www.bug-hosting.com
Balkan United Community www.bug-hq.info
Uskoro Prijave za Gmodove,GameMastere,Lidere za RPG
Za Ostale Informacije Kontaktirajte [email protected]


Proverite Zasto Smo Najbolji

Citat: Burrows poslato Maj 15, 2011, 21:27:48 POSLE PODNE
Skripta koju koristim:SampStories (GF)
Detaljan opis problema:Imam Kuce od Samp stories i sada kada kupis kucu kucas /enter i radi mozes uci kada kucas /exit mozes izaci sve radi ali kada se ubijes onda ne radi nereaguje al kad se restarta server il kada izadje pa udje onda NEMA nepise da je njegova kuca ako mzoe pomoc
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://

Editaj to da bude ovako:
Citatfor(new h = 0; h < sizeof(HouseInfo); h++)
   {
      if(HouseInfo[h][hOwned] == 0)
      {
          if(HouseInfo[h][hSetted] == 1)
          {
             format(PropertyString,sizeof(PropertyString),"Kuca na Prodaju! \n Adresa: %s \n Kucni br: %d \n Level: %d \n Cijena: $%d \n da kupite: /kupikucu",HouseInfo[h][hDiscription], HouseInfo[h][hWorld], HouseInfo[h][hLevel], HouseInfo[h][hValue]);
            HouseLabel[h] = Create3DTextLabel(PropertyString ,0x00FF00AA,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25, 0, 1);
            HousePickup[h] = CreateDynamicPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
         }
      }
      else if(HouseInfo[h][hOwned] == 1)
      {
         format(PropertyString,sizeof(PropertyString),"Vlasnik %s \n Adresa: %s \n Kucni br: %d \n Level: %d \n Cijena renta: $%d  \n Najam: /rentroom", HouseInfo[h][hOwner], HouseInfo[h][hDiscription], HouseInfo[h][hWorld], HouseInfo[h][hLevel], HouseInfo[h][hRent]);
         HouseLabel[h] = Create3DTextLabel(PropertyString ,0x00FFFFAA,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25, 0, 1);
         HousePickup[h] = CreateDynamicPickup(1239, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
      }
   }
   for(new h = 0; h < sizeof(BizzInfo); h++)
   {
      if(BizzInfo[h][bOwned] == 0)
      {
          format(PropertyString,sizeof(PropertyString),"Firma na Prodaju! \n Level: %d \n Cijena: $%d \n da kupite: /kupifirmu", BizzInfo[h][bLevelNeeded], BizzInfo[h][bBuyPrice]);
         BizzLabel[h] = Create3DTextLabel(PropertyString ,0x00FF00AA,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],50, 0, 1);
      }
      else if(BizzInfo[h][bOwned] == 1)
      {
         format(PropertyString,sizeof(PropertyString),"%s \n Vlasnik: %s , Reket: %s \n Level: %d \n Za Ulazak Koristi, /enter.",BizzInfo[h][bMessage],BizzInfo[h][bOwner], BizzInfo[h][bExtortion], BizzInfo[h][bLevelNeeded]);
         BizzLabel[h] = Create3DTextLabel(PropertyString ,0x00FF00AA,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],50, 0, 1);
      }
      CreateDynamicPickup(1239,1,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],-1);
   }
   for(new h = 0; h < sizeof(SBizzInfo); h++)
   {
      if(SBizzInfo[h][sbOwned] == 0)
      {
         format(PropertyString,sizeof(PropertyString),"Bizz na Prodaju! \n Level: %d \n Cijena: $%d \n Za Kupnju Koristi, /kupifirmu", SBizzInfo[h][sbLevelNeeded], SBizzInfo[h][sbBuyPrice]);
         SBizzLabel[h] = Create3DTextLabel(PropertyString ,0x00FF00AA,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],30, 0, 1);
      }
      else if(SBizzInfo[h][sbOwned] == 1)
      {
         format(PropertyString,sizeof(PropertyString),"%s \n Vlasnik: %s , Reket: %s \n Level: %d \n  Za Ulazak Koristi, /enter.",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner], SBizzInfo[h][sbExtortion], SBizzInfo[h][sbLevelNeeded]);
         SBizzLabel[h] = Create3DTextLabel(PropertyString ,0x00FF00AA,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],30, 0, 1);
      }
   }
   for(new i = 0; i < sizeof(BurgerDriveIn); i++)
   {
       BurgerPickUp = CreateDynamicPickup(1239, 23, BurgerDriveIn
  • , BurgerDriveIn[1], BurgerDriveIn[2], 0);
          pickups++;
       }
       for(new i = 0; i < sizeof(ChickenDriveIn); i++)
       {
           ChickenPickUp = CreateDynamicPickup(1239, 23, ChickenDriveIn
    • , ChickenDriveIn[1], ChickenDriveIn[2], 0);
            pickups++;
         }
         for(new h = 0; h < sizeof(InfoPickups); h++)
         {
            Create3DTextLabel("[Obavijest] \n Pritisni \"SPACE\" Kako bi dobio informacije \n na ovom mijestu",0x008080AA, InfoPickups[h][0],InfoPickups[h][1],InfoPickups[h][2], 5,0,1);
         }