SA-MP Forums Archive
Replacing object texture from vanilla map - 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: Replacing object texture from vanilla map (/showthread.php?tid=634378)



Replacing object texture from vanilla map - DTV - 17.05.2017

I'm try to figure out if there's a way to change a texture of an object that already exists in the vanilla map, is there any way to do this?


Re: Replacing object texture from vanilla map - TommyB - 17.05.2017

Nope. You'd have to remove the object, create another one in the exact same spot and then use SetObjectMaterial on it.


Re: Replacing object texture from vanilla map - Pottus - 17.05.2017

https://github.com/Pottus/Texture-Studio

Specifically, /gtaobjects - /gtashow - /gtahide - /remobject - /swapbuilding

/sindex - Set text on a object will show material IDs
/rindex - Removes material indexes shown on an object