SetObjectMaterial - materialcolor
#1

Hey!
When I use code:
Код:
SetObjectMaterial(uid, materialindex, modelid, txdname, texturename, color);
color should be string or HEX?
Reply
#2

Your color on the color parameter is 0x77000030 not 0x10FF0000
Reply
#3

OK, thanks, but color should be string or HEX in SetObjectMaterial?
Reply
#4

Quote:
Originally Posted by Wiki
The object color to set, as an integer or hex in ARGB color format. Using 0 keeps the existing material color.
Hex.
Reply
#5

OK, thanks, best regards!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)