3Dtext Label won't update.
#5

Use this


Код:
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);
		}
	}

}
Reply


Messages In This Thread
Unsolved - by Elorreli - 08.07.2010, 20:07
Re: 3Dtext Label won't update. - by Elorreli - 08.07.2010, 21:51
Re: 3Dtext Label won't update. - by TouR - 08.07.2010, 21:57
Re: 3Dtext Label won't update. - by Elorreli - 08.07.2010, 21:58
Re: 3Dtext Label won't update. - by TouR - 08.07.2010, 22:03
Re: 3Dtext Label won't update. - by Elorreli - 08.07.2010, 22:08
Re: 3Dtext Label won't update. - by TouR - 08.07.2010, 22:10
Re: 3Dtext Label won't update. - by Elorreli - 08.07.2010, 22:13
Re: 3Dtext Label won't update. - by TouR - 08.07.2010, 22:14
Re: 3Dtext Label won't update. - by Lilcuete - 08.07.2010, 22:25

Forum Jump:


Users browsing this thread: 1 Guest(s)