SA-MP Forums Archive
Blank texture to object - 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: Blank texture to object (/showthread.php?tid=425418)



Blank texture to object - Morten_Guado - 25.03.2013

Hi, I have a question about SetObjectMaterial.
I'm trying to give a "blank" texture to an object, in order to make it invisible. So, the texture must have an opacity value of 0.
However, I haven't found any object with a texture like that.

There's a blank object (19300), which apparently is invisible, but as I can't double click on it in JernejL's Map Editor, I can't see what texture it has. So, how can I get that object's texture, or make my object invisible with another method?

Any help would be appreciated.
Thanks in advance.


Re: Blank texture to object - davve95 - 15.04.2016

Sorry for bump.
(as it's alredy this topic for it rather then creating a new one)

Does someone know?


Re: Blank texture to object - iiNzTicTx - 16.04.2016

Try SetObjectMaterialText, and assign the text to being just a space.

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