Create3DTextLabel
#1

I have created the 3DTexts for houses and I want to know how to do to appear the owner name and the house price..

Sorry 4 my bad english, I'm romanian.

Here is it.

Код:
			Create3DTextLabel("Owned",COLOR_YELLOW,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],20.0,0);
Reply
#2

You'll need to format the string and then update the 3d-text.
Reply
#3

Код:
		
format(string1, sizeof(string), "[SELL HOUSE]\n$ %d",HouseInfo[h][hValue]);
housesale = Create3DTextLabel(string1,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
<----- try this
Reply
#4

Thanks a lot, solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)