View Full Version : Question about SetObjectMaterial

20/03/2015, 07:53 PM
Hey, I was trying to retexture a few objects using textures from vehicles for example the Medical Department sign on the ambulance. So I got the names of the textures using TXD workshop and I used the ID of the vehicle as model ID.
My code is something like this.
SetObjectMaterial(object, 0, 407, "firetruck", "lsfd92badge64", 0);
The texture of the object did not change at all. So I was wondering if I am doing something wrong or is it just impossible. And if not then are there any objects that have logos of PD, FD etc.. on them? Thanks for helping.

20/03/2015, 10:51 PM
the name of txd is firetruk

20/03/2015, 11:20 PM
This function only works on objects not vehicles lol.

20/03/2015, 11:23 PM
Yes, he's trying to extract the texture from a vehicle to apply it to an object. I doubt it would work though, as they are separate entities. The LV police department has some police shield logos on it, but I don't think there's any star-of-life kind of texture in SA at all.

20/03/2015, 11:52 PM
Yeah what Vince explained is what I am talking about. I did play around with that function a bit more but nothing seems to work. I strongly believe it is not possible now. Thanks for helping.