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++; } }
|