SA-MP Forums Archive
Need Help On Something - 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: Need Help On Something (/showthread.php?tid=617750)



Need Help On Something - CannonBolt - 25.09.2016

Object ID / Texture ID Please i've been searching all day for it i saw it on a COD server

http://imgur.com/a/ignzh


Re: Need Help On Something - Kaliber - 25.09.2016

It's such a normal vehicle...modelid: 433

If you spawn them...they get created an random attachment

Just try it


Re: Need Help On Something - CannonBolt - 25.09.2016

Yes but when i try the retexture with id 433 it doesnt work

SetDynamicObjectMaterial(ArmyBase, 0,433,"CJ_AMMO_net","CJ_cammonet",0);

I wanted to retexture an object with the object like attached to that truck.


Re: Need Help On Something - TakeiT - 26.09.2016

That doesn't work that way.

As far as I know, the textures for vehicles save in the .txd file for that specific vehicle, SetObjectMatrial only works for other object textures.


Re: Need Help On Something - CannonBolt - 26.09.2016

I've seen object textured in that specific part of the vehicle that's why i asked.