SA-MP Forums Archive
Searching for an object using... - 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: Searching for an object using... (/showthread.php?tid=484031)



Searching for an object using... - Finn707 - 28.12.2013

I need to find an object that is using a texture in MatColours.txd which is within SAMP.img. It will be a new SAMP object, obviously. I need to find the object ID so I can use it in SetObjectMaterial.


I need to retexture an object to one of those colours, and no, I can't just use the colour parameter in the function.