SA-MP Forums Archive
Multiple SetObjectMaterial in one... - 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: Multiple SetObjectMaterial in one... (/showthread.php?tid=463036)



Multiple SetObjectMaterial in one... - cray1100 - 09.09.2013

So... I have a few objects (24 Objects), They make up an island... Is their a way to set ALL of their materials to sand in just ONE SetObjectMaterial?

It would take alot of time to copy/paste each line and change the objectid's, then it would take up space, and im planning on doing more objects on the island... (More sand objects...)


Re: Multiple SetObjectMaterial in one... - Pottus - 09.09.2013

I can reprocess your map in my map editor if you would like. I have a command that can set the material of all like objects at once.

[ame]http://www.youtube.com/watch?v=ZwYCoCmAczA[/ame]