open.mp forum
[Pawn] SetObjectMaterial question!? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] SetObjectMaterial question!? (/showthread.php?tid=1727)



SetObjectMaterial question!? - gokuta - 2021-03-05

My question is... how do I set material using SetObjectMaterial() that is available in TXD file, but?not used on any object at all! There are plenty of materials never used on any object... please help :(


RE: SetObjectMaterial question!? - Virsenas - 2021-03-05

This is possible only with 0.3DL version of server. You have to add your own custom object with the texture you want and then use the texture.