SA-MP Forums Archive
OnPlayerShootDynamicObject object detect? - 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: OnPlayerShootDynamicObject object detect? (/showthread.php?tid=584763)



OnPlayerShootDynamicObject object detect? - sjames - 07.08.2015

Don't mind the title, new question.

If I have a object.. for example a satelite.. how can I make it black? Whats the material or something so I could make it black color?


Re: OnPlayerShootDynamicObject object detect? - prineside - 07.08.2015

Code:
SetObjectMaterial(myobject, 0, -1, "none", "none", 0xFF000000);
// where "myobject" is an object ID