08.07.2010, 20:07
(
Последний раз редактировалось Elorreli; 09.07.2010 в 23:02.
)
Problem solved
public UpdateHouses() { for(new h = 0; h < sizeof(HouseInfo); h++) { if(HouseInfo[h][hOwned] == 0) { new string[128]; format(string, 128, "Price: %d\nLevel: %d",HouseInfo[h][hValue],HouseInfo[h][hLevel]); Update3DTextLabelText(Housetext, COLOR_WHITE, string); } if(HouseInfo[h][hOwned] == 1) { new string[128]; format(string, 128, "Owner: %s\nLevel: %d\nRent: %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel],HouseInfo[h][hRent]); Update3DTextLabelText(Housetext, COLOR_WHITE, string); } } }
Update3DTextLabelText(Text3D:Housetext, COLOR_WHITE, string); changed to Update3DTextLabelText(Housetext, COLOR_WHITE, string);