13.01.2013, 18:18
I have a 3dtext on the business now isn't showing the 3dtext why ?
pawn Код:
the defines
new PropertyString[256];
new Text3D:bizsale[sizeof(BizzInfo)];
new BizzPickup[sizeof(BizzInfo)];
the script
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
format(PropertyString,sizeof(PropertyString),"{00D900}Biz na Prodaju! \n {FFFFFF}%s \n {00D900}Cena: {FFFFFF}$%d \n {00D900}Level: {FFFFFF}%d \n da kupite kucajte, /buybiz",BizzInfo[h][bMessage], BizzInfo[h][bBuyPrice], BizzInfo[h][bLevelNeeded]);
bizsale[h] = Create3DTextLabel(PropertyString ,0x00FF00AA,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],25, 0, 1);
}
else if(BizzInfo[h][bOwned] == 1)
{
format(PropertyString,sizeof(PropertyString),"{FFFFFF}%s \n {157DEC}Vlasnik: {FFFFFF}%s \n {157DEC}Reket: {FFFFFF}%s \n {157DEC}Cena ulaza: {FFFFFF}$%d.",BizzInfo[h][bMessage],BizzInfo[h][bOwner], BizzInfo[h][bExtortion], BizzInfo[h][bEntranceCost]);
bizsale[h] = Create3DTextLabel(PropertyString ,0x00FFFFAA,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],25, 0, 1);
}
BizzPickup[h] = CreatePickup(1274,1,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],-1);
}