SA-MP Forums Archive
SetObjectMaterials Enquiry - 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: SetObjectMaterials Enquiry (/showthread.php?tid=430573)



SetObjectMaterials Enquiry - AuthenticBeerCan - 14.04.2013

Hello ya'll! I'm wondering if we use the SetObjectMaterials function, would it changes every same objects or just one particular object that I chose?

For example, if I have two same objects in game and I use SetObjectMaterials, would both of them changed? Or just one of them that I want to change? Thanks!


Re: SetObjectMaterials Enquiry - Basssiiie - 14.04.2013

Only one of them will change. You can have 4 objects with the same model, but they all have different textures from SetObjectMaterial.


Re: SetObjectMaterials Enquiry - AuthenticBeerCan - 14.04.2013

Thanks a lot! Really helpful, sir! :)