LoadBizz(Big Problem)
#9

Everything is solved more easily and can be readed with more ease if you ident your code properly. In this case you missed an opening bracket. I suggest you read the basic scripting documentation before getting deep into loading and saving data before you even know how to indent your code properly and how brackets work.

pawn Код:
for(new h = 0; h < sizeof(BizzInfo); h++)
     {
        if(BizzInfo[h][bSetted] == 1)
        {
            if(BizzInfo[h][bOwned] == 0)
            {
                format(string, sizeof(string), "Afacere de vanzare \n Nume Afacere: %s \n Afacere ID: %d \n Pret: $%d \n Level Necesar: %d",BizzInfo[h][bMessage], BizzInfo[h][bVirWorld], BizzInfo[h][bBuyPrice], BizzInfo[h][bLevelNeeded]);
                BizzLabel[h] = Create3DTextLabel(PropertyString ,0x00FF00AA,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],50, 0, 1);
            }
            else if(BizzInfo[h][bOwned] == 1)
            {
                format(string, sizeof(string), "%s \n Proprietarul: %s \n Nume Afacere: %d \n Extortion: %s \n Intrare Fee: $%d. \n Pentru a intra in bizz scrieti /enter.",BizzInfo[h][bMessage],BizzInfo[h][bOwner], BizzInfo[h][bVirWorld], BizzInfo[h][bExtortion], BizzInfo[h][bEntranceCost]);
                Create3DTextLabel(string ,0x00FFFFAA,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],50, 0, 1);
            }
            BizzPickup[h] = CreateDynamicPickup(1274,1,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],-1);
            pickups++;
        }
    }
Reply


Messages In This Thread
LoadBizz(Big Problem) - by Dan_Barocu - 17.03.2012, 01:16
Respuesta: LoadBizz(Big Problem) - by admantis - 17.03.2012, 01:21
Re: LoadBizz(Big Problem) - by AustinJ - 17.03.2012, 01:22
Re: LoadBizz(Big Problem) - by ReneG - 17.03.2012, 01:24
Respuesta: LoadBizz(Big Problem) - by admantis - 17.03.2012, 01:25
Re: LoadBizz(Big Problem) - by Dan_Barocu - 17.03.2012, 01:31
Re: Respuesta: LoadBizz(Big Problem) - by Dan_Barocu - 17.03.2012, 01:37
Re: LoadBizz(Big Problem) - by Dan_Barocu - 17.03.2012, 14:43
Respuesta: LoadBizz(Big Problem) - by admantis - 17.03.2012, 14:46
Re: Respuesta: LoadBizz(Big Problem) - by ReneG - 17.03.2012, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)