SetObjectMaterial
#10

Quote:
Originally Posted by olaf137
Посмотреть сообщение
You used the wrong objectid:
Код:
TestObject = CreateObject(19449, 969.92, -1419.15, 14.26,   0.00, 0.00, 90.00);
SetObjectMaterial(TestObject, 0, 19449, "carshow_sfse", "concpanel_la", 0xFFFFFFFF);
The modelid which is used in SetObejctMaterial is the ID of the object which has the texture.
You used the same objectid. Thats why it didn't work.
If you read the first post thats what I did, but when I did that it didn't change the texture, now it have but the color on the object is not white like the texture are it's gray...
Reply


Messages In This Thread
SetObjectMaterial - by tony_fitto - 19.04.2012, 09:59
Re: SetObjectMaterial - by Infamous - 19.04.2012, 10:27
Re: SetObjectMaterial - by tony_fitto - 19.04.2012, 10:54
Re: SetObjectMaterial - by IstuntmanI - 19.04.2012, 10:55
Re: SetObjectMaterial - by tony_fitto - 19.04.2012, 11:09
Re: SetObjectMaterial - by Libra_PL - 19.04.2012, 11:53
Re: SetObjectMaterial - by IstuntmanI - 19.04.2012, 12:07
Re: SetObjectMaterial - by tony_fitto - 19.04.2012, 12:17
AW: SetObjectMaterial - by olaf137 - 19.04.2012, 13:36
Re: AW: SetObjectMaterial - by tony_fitto - 19.04.2012, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)