SA-MP Forums Archive
Changing two textures of one 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: Changing two textures of one object? (/showthread.php?tid=398690)



Changing two textures of one object? - okil - 10.12.2012

The title says it all, is it possible?


Re: Changing two textures of one object? - iggy1 - 10.12.2012

Use the materialindex argument in the SetObjectMaterial function.


Re: Changing two textures of one object? - okil - 10.12.2012

I used it, I changed one material, let's say index 0 and when I change material index 1 after with new line it just doesn't change.