3D Text Label -
Rapk1d - 06.10.2012
Hi all . I have this 3D Text House/Biz/Sbiz Label :
http://i.imgur.com/ye4El.jpg
What's the problem ?
-I want to add a line to show me the house id : ..
-I want to incrase the size of the text .
3D Text House Label :
Код:
for(new h = 0; h < sizeof(HouseInfo); h++) ////
{
if(PlayerToPoint(10.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
{
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] == 0)
{
Delete3DTextLabel(Text3D:HouseLabel[h]);
format(string, sizeof(string), "",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
HouseLabel[h] = Create3DTextLabel(string ,0xE60000FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],30.0, 0, 1);
}
else
{
Delete3DTextLabel(Text3D:HouseLabel[h]);
format(string, sizeof(string), "{0080FF}Detinator: {FFFFFF}%s \n {80FF00}Chirie: {FFFFFF}%d$ \n {80FF00}/rentroom",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
HouseLabel[h] = Create3DTextLabel(string ,0xE60000FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],30.0, 0, 1);
}
return 1;
}
else
{
Delete3DTextLabel(Text3D:HouseLabel[h]);
format(string,sizeof(string),"{0080FF}Casa de vanzare \n Pretul:{FFFFFF} %d$ \n {0080FF}Level:{FFFFFF} %d \n {0080FF}/buyhouse",HouseInfo[h][hValue],HouseInfo[h][hLevel]);
HouseLabel[h] = Create3DTextLabel(string ,0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],30.0, 0, 1);
}
return 1;
}
}
3D Text Biz Label :
Код:
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(PlayerToPoint(10.0, i, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]))
{
if(BizzInfo[h][bOwned] == 1)
{
Delete3DTextLabel(Text3D:BizzLabel[h]);
format(string, sizeof(string), "{CC0099}%s \n {0080FF}Detinator: {FFFFFF}%s \n {0080FF}Extortion: {FFFFFF}%s\n {0080FF}Fee :{FFFFFF} %d$ \n {0080FF}/enter",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
BizzLabel[h] = Create3DTextLabel(string ,0xE60000FF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],30.0, 0, 1);
}
else
{
Delete3DTextLabel(Text3D:BizzLabel[h]);
format(string, sizeof(string), "{0080FF}%s \n {0080FF}De vanzare \n {0080FF}Pretul: {FFFFFF}%d$ \n {0080FF}Level: {FFFFFF}%d \n {0080FF}/buybiz",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
BizzLabel[h] = Create3DTextLabel(string ,0xFFFFFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],30.0, 0, 1);
}
return 1;
}
}
3D Text SBiz Label :
Код:
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(PlayerToPoint(10.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
{
if(SBizzInfo[h][sbOwned] == 1)
{
Delete3DTextLabel(Text3D:SBizzLabel[h]);
format(string, sizeof(string), "{0080FF}%s \n {0080FF}Detinator: {FFFFFF}%s \n {0080FF}Extortion: {FFFFFF}%s\n {80FF00}Fee:{FFFFFF} %d$ \n {0080FF}/enter",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded]);
SBizzLabel[h] = Create3DTextLabel(string ,0xE60000FF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],30.0, 0, 1);
}
else
{
Delete3DTextLabel(Text3D:SBizzLabel[h]);
format(string, sizeof(string), "{0080FF}%s \n {0080FF}For Sale! \n {0080FF}Pretul:{FFFFFF} %d$ \n {0080FF}Level: {FFFFFF}%d \n {0080FF}/buybiz",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
SBizzLabel[h] = Create3DTextLabel(string ,0xFFFFFFFF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],30.0, 0, 1);
}
return 1;
}
}
I wait your answer. Thanks !