31.01.2019, 19:27
Hi all !
I have a little problem with SetObjectMaterial.
The point is that I'm trying to make a system like:
https://www.youtube.com/watch?v=qw_pigVLFyE
6:35
I did the whole system, but when I have to replace the texture, it does not work.
If I use this code:
Everything goes well, no problem.
But if I use this code: (for any other texture)
Not working.
What can I do?
I have a little problem with SetObjectMaterial.
The point is that I'm trying to make a system like:
https://www.youtube.com/watch?v=qw_pigVLFyE
6:35
I did the whole system, but when I have to replace the texture, it does not work.
If I use this code:
Код:
SetObjectMaterial (myobject, 0, 19371, "hud", "fist", 0x00000000);
But if I use this code: (for any other texture)
Код:
SetObjectMaterial (myobject, 0, 19371, "ld_card", "cd9s", 0x00000000);
What can I do?