16.10.2010, 17:30
Well i am having a problem when im by a house thats not bought some houses shows the 3d text label and some don't i don't know whats wrong can someone please tell me whats the problem why it shows in some houses and not all houses?heres my code
pawn Код:
new location[MAX_ZONE_NAME];
Get2DZone(location, MAX_ZONE_NAME, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
format(text_info,256,"House[%d] For Sale:\nStreet: %s\nPrice: $%d\nLevel: %d\nLock Level: %d\nAlarm Level: %d",h,location,HouseInfo[h][hValue],HouseInfo[h][hLevel],HouseInfo[h][hLock],HouseInfo[h][hLock]);
Text = Create3DTextLabel(text_info,COLOR_YELLOWLS,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],40.0,0, 1);