material back ground color.
#1

Hi,

What material back ground color is in picture?



Because, if i use black it's very dark color.. Like 0x000000AA, but here is very nice grey or black i don't know, but nice.

I take this picture hex, and i get that:

2E2E2C

But when i build this hex in this:

SetDynamicObjectMaterialText(OBJEKTMY, 0,">>>>", OBJECT_MATERIAL_SIZE_512x128,"Arial", 50, 1,0xFFFF8200, 0x2E2E2CAA, 1);


Background become blue? wtf?
Reply
#2

Material colors are ARGB, not RGBA.
Reply
#3

edit: didn't see vince
Reply
#4

How to write ARGB?
Reply
#5

UP.m
Reply
#6

Well, I assume using my common sense that since both ARGB and RGBA have the same letters in it, you switch it arround.

pawn Код:
//My grey color in RGBA
0xAFAFAFAA

//My grey color using common sense to change it to ARGB
0xAAAFAFAF
Could be wrong, but I'm using my common sense.
Reply
#7

Not working.
Reply
#8

How this hex code: 2E2E2C

Write to that code, i can use in

SetDynamicObjectMaterialText ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)