pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
{
new adresa[255];
if(HouseInfo[h][hOwned] == 0)
{
AddStaticPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1);
pickups++;
format(adresa, sizeof(adresa), "Adresa: %s",HouseInfo[h][hDiscription]);
Create3DTextLabel(adresa,0x9EC73DFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
}
if(HouseInfo[h][hOwned] == 1)
{
AddStaticPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1);
pickups++;
format(adresa, sizeof(adresa), "Adresa: %s",HouseInfo[h][hDiscription]);
Create3DTextLabel(adresa,0x9EC73DFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
}
}
for(new h = 0; h < sizeof(BizzInfo); h++)
{
new adresa[255];
if(BizzInfo[h][bOwned] == 0)
{
AddStaticPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],-1);
pickups++;
format(adresa, sizeof(adresa), "%s",BizzInfo[h][bMessage]);
Create3DTextLabel(adresa,0x00CCFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
}
if(BizzInfo[h][bOwned] == 1)
{
AddStaticPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],-1);
pickups++;
format(adresa, sizeof(adresa), "%s",BizzInfo[h][bMessage]);
Create3DTextLabel(adresa,0x00CCFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
}
}
The others create3dtextlabel disapears,only houses and business will show theyr 3dtetx,But,if i delete them, It comes back to normal