SetObjectMaterialText problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetObjectMaterialText problem (
/showthread.php?tid=663427)
SetObjectMaterialText problem -
DenisMario - 31.01.2019
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?
Re: SetObjectMaterialText problem -
Pottus - 31.01.2019
Use a map editor then export to get the lines perfect.
Re: SetObjectMaterialText problem -
DenisMario - 31.01.2019
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?
Re: SetObjectMaterialText problem -
Pottus - 01.02.2019
https://sampwiki.blast.hk/wiki/SetObjectMaterialText
Bottom of the page.
Filterscripts with texturing/text support