SetObjectMaterialText problem
#1

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:
Код:
SetObjectMaterial (myobject, 0, 19371, "hud", "fist", 0x00000000);
Everything goes well, no problem.

But if I use this code: (for any other texture)
Код:
SetObjectMaterial (myobject, 0, 19371, "ld_card", "cd9s", 0x00000000);
Not working.

What can I do?
Reply
#2

Use a map editor then export to get the lines perfect.
Reply
#3

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Use a map editor then export to get the lines perfect.
What kind of map editor? Can you give me a link please?
Reply
#4

https://sampwiki.blast.hk/wiki/SetObjectMaterialText

Bottom of the page.

Filterscripts with texturing/text support
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)