How to update a 3d text label correctly?
#1

I've learned how to create a 3d text label and thank Y-less/ColeMiner for his help.

My new issue now is that I'm not sure how to create a new 3d text label --or rather update the existing one-- correctly. When I tried to use Update3dTextLabel I always got an argument mismatch. Here's my code:

Код:
if(strcmp(hInfo[houseid][Name],"ForSale",true)==0)
	{
		HousePickup[houseid] = CreatePickup(1273, 23, iconX, iconY, iconZ);//not bought
		format(HPickupForSale,sizeof(HPickupForSale), "[ Owner ]: %s \n[ Price ] %i",hInfo[houseid][Name],hInfo[houseid][Cost]);
        Create3DTextLabel(HPickupForSale, 0x008080FF, iconX, iconY, iconZ, 30.0, 0, 0);
	}
	else
	{
		HousePickup[houseid] = CreatePickup(1272,23, iconX, iconY, iconZ);//bought
		format(HPickupOwned,sizeof(HPickupOwned), "[ Owner ]: %s",hInfo[houseid][Name]);
        Create3DTextLabel(HPickupOwned, 0x008080FF, iconX, iconY, iconZ, 30.0, 0, 0);
	}
Off-topic: Is there a limit as to how many threads one may have in this subforum? I do seem to need help a lot, and I apologize for that and thank everybody for their help in the past.
Reply


Messages In This Thread
How to update a 3d text label correctly? - by Aerotactics - 17.02.2014, 02:44
Re: How to update a 3d text label correctly? - by CuervO - 17.02.2014, 02:48
Re: How to update a 3d text label correctly? - by Aerotactics - 17.02.2014, 03:10
Re: How to update a 3d text label correctly? - by CuervO - 17.02.2014, 03:12
Re: How to update a 3d text label correctly? - by Aerotactics - 17.02.2014, 03:49

Forum Jump:


Users browsing this thread: 2 Guest(s)