SA-MP Forums Archive
Create3DTextLabel - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Create3DTextLabel (/showthread.php?tid=125170)



Create3DTextLabel - Razvann - 02.02.2010

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);



Re: Create3DTextLabel - Correlli - 02.02.2010

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


Re: Create3DTextLabel - Brian_Furios - 02.02.2010

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


Re: Create3DTextLabel - Razvann - 02.02.2010

Thanks a lot, solved.