Pickups doesnt appear :(
#5

Quote:
Originally Posted by MayaEU
Посмотреть сообщение
Hii, i have a business system, but the pickups doesnt appear, do anyone know whats wrong?

I have this on gamemodeinit
pawn Код:
for(new h = 0; h < sizeof(BizzInfo); h++)
    {
        if(BizzInfo[h][bOwned] == 0)
        {
            format(PropertyString,sizeof(PropertyString),""COL_BIZ"%s \n"COL_WHITE"Business:"COL_BIZ"For Sale \n "COL_WHITE"Price: "COL_BIZ"$%d",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice]);
            BizzLabel[h] = Create3DTextLabel(PropertyString ,COLOR_BIZ,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],25, 0, 1);
            BizzInfo[h][bPickupID]=CreatePickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
            pickups++;
        }
pawn Код:
if(BizzInfo[h][bOwned] == 1)
        {
            format(PropertyString,sizeof(PropertyString),""COL_BIZ"%s \n"COL_WHITE"Owner: "COL_BIZ"%s \n "COL_WHITE"Entry Fee: "COL_BIZ"$%d",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bEntranceCost]);
            BizzLabel[h] = Create3DTextLabel(PropertyString ,COLOR_BIZ,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],25, 0, 1);
            BizzPickup[h] = CreatePickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
            pickups++;
        }
    }
First you used BizzInfo[h][bPickupID] and after BizzPickup[h]. Try to change this.
Reply


Messages In This Thread
Pickups doesnt appear :( - by MayaEU - 10.11.2015, 18:33
Re: Pickups doesnt appear :( - by yvoms - 10.11.2015, 18:40
Re: Pickups doesnt appear :( - by MayaEU - 10.11.2015, 18:44
Re: Pickups doesnt appear :( - by Sew_Sumi - 10.11.2015, 18:53
Re: Pickups doesnt appear :( - by iShawn - 10.11.2015, 19:01
Re: Pickups doesnt appear :( - by MayaEU - 10.11.2015, 19:40
Re: Pickups doesnt appear :( - by Sew_Sumi - 11.11.2015, 01:36

Forum Jump:


Users browsing this thread: 1 Guest(s)