16.11.2012, 14:39
Hi i like script with business and now go to bussines and pickup is here but 3DText doesn't show ? Why ? I like this script
pawn Код:
for(new bi = 0; bi < sizeof(BizzInfo); bi++)
{
if(BizzInfo[bi][bOwned] == 0)
{
format(PropertyString,sizeof(PropertyString),""#COL_WHITE"[%s]\n"#COL_SVPLAVA"Biznisot e na prodazba.\n "COL_SVPLAVA"Level: "#COL_WHITE"%d "#COL_SVPLAVA"| Cena: "#COL_WHITE"$%d\n "#COL_SVPLAVA"Za kupuvanje koristi "#COL_WHITE"/kupibiznis",BizzInfo[bi][bMessage],BizzInfo[bi][bLevelNeeded],BizzInfo[bi][bBuyPrice]);
BizzLabel[bi] = Create3DTextLabel(PropertyString ,0x33CCFFAA ,BizzInfo[bi][bEntranceX], BizzInfo[bi][bEntranceY], BizzInfo[bi][bEntranceZ]+0.5,20, 0, 1);
BizzPickup[bi] = CreatePickup(1272,1,BizzInfo[bi][bEntranceX], BizzInfo[bi][bEntranceY], BizzInfo[bi][bEntranceZ]);
}
else if(BizzInfo[bi][bOwned] == 1)
{
format(PropertyString,sizeof(PropertyString),"[%s]\n {00C0FF}Vlasnik: "#COL_WHITE"%s , {00C0FF}Reket: {FFFFFF}%s\n {00C0FF}Level: {FFFFFF}%d\n {00C0FF}Za vlez koristi: {FFFFFF}/enter.",BizzInfo[bi][bMessage],BizzInfo[bi][bOwner], BizzInfo[bi][bExtortion], BizzInfo[bi][bLevelNeeded]);
BizzLabel[bi] = Create3DTextLabel(PropertyString ,0x33CCFFAA,BizzInfo[bi][bEntranceX], BizzInfo[bi][bEntranceY], BizzInfo[bi][bEntranceZ]+0.5,20, 0, 1);
BizzPickup[bi] = CreatePickup(1239, 1, BizzInfo[bi][bEntranceX], BizzInfo[bi][bEntranceY], BizzInfo[bi][bEntranceZ]);
}
}