Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

ObjectMaterialText problem.

$
0
0
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.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>