SetObjectMaterialText
#1

Hi guys. I have an issue, i never used Text on my maps, but now is the time to use them, because of my first project im working on.


OBJECT ID: 19456

Код:
new Bankaime = CreateObject(19456, -167.42856, 1176.48804, 23.11819,   0.00000, 0.00000, 0.00000);
    SetObjectMaterial(Bankaime, 0, 0, "none", "none", 0x00000000);
	SetObjectMaterialText(Bankaime, "UMPQUA BANK {008500}", 0, OBJECT_MATERIAL_SIZE_256x128,\
"Arial", 50, 1, 0xFFFF8200, 0x00000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
What i want from this text is:
1. Bolded, that i've done.
2. All letters to be white color. Idk how to change color of text.
Код:
"UMPQUA BANK {FFFFFF}"
0xFFFFFF
I've tryed this, but then letters disappeared?!
3. And i have a bug, i dont know why letters keep repeating?



All i need is to be " UMPQUA BANK ".

Also i tried to change the size:
Код:
OBJECT_MATERIAL_SIZE_256x128
But no luck. Im new in this function like some newbie.
Reply


Messages In This Thread
SetObjectMaterialText - by Lys - 04.03.2017, 13:07
Re: SetObjectMaterialText - by Toroi - 04.03.2017, 14:30
Re: SetObjectMaterialText - by Lys - 04.03.2017, 22:38
Re: SetObjectMaterialText - by Pottus - 04.03.2017, 22:41
Re: SetObjectMaterialText - by Lys - 04.03.2017, 23:03
Re: SetObjectMaterialText - by Pottus - 04.03.2017, 23:20
Re: SetObjectMaterialText - by Toroi - 04.03.2017, 23:23
Re: SetObjectMaterialText - by Leitoo - 04.03.2017, 23:53

Forum Jump:


Users browsing this thread: 1 Guest(s)