ObjectMaterialText problem.
#1

Hi guys, I want to write white text in object.
I found the code but text is black.
So, in this code I did not found black hex text color.

tmpobjid = CreateDynamicObject(2789, 1956.2709, 1169.3798, 1144.2712, 0.00000, 0.00000, 180.00000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "Bow_Abpave_Gen", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "Bow_Abpave_Gen", 0x00000000);
SetDynamicObjectMaterialText(tmpobjid, 0, "Test", 130, "Quartz MS", 35, 0, 0xFF000000, 0xFFFFFF00, 0);

So result is transparent background and black text.
I rewrite selected text. (see red color in code) from 0xFF000000 to 0xFFFFFFFF. And result its yellow. WTF ? Please help. Bad english skill, very sorry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)