SA-MP Forums Archive
dynamic object material - 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: dynamic object material (/showthread.php?tid=569870)



dynamic object material - iBots - 03.04.2015

Can someone give me an example of how to change the material color for an object?
all i want to change the color of a mp5 object,not texture...


Re: dynamic object material - CalvinC - 03.04.2015

Change the materialcolor.
Code:
native SetDynamicObjectMaterial(objectid, materialindex, modelid, const txdname[], const texturename[], materialcolor = 0);



Re : dynamic object material - AlexBlack - 03.04.2015

Use Pottus Texture studio.

good luck.