SA-MP Forums Archive
Texture dynamic object [+rep] - 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: Texture dynamic object [+rep] (/showthread.php?tid=587989)



Texture dynamic object [+rep] - hervincb - 04.09.2015

how can i add texture dynamic object on my gamemode ?


Re: Texture dynamic object [+rep] - mirou123 - 04.09.2015

SetDynamicObjectMaterial?


Re: Texture dynamic object [+rep] - hervincb - 04.09.2015

Quote:
Originally Posted by mirou123
Посмотреть сообщение
SetDynamicObjectMaterial?
can you give me one example ?


Re: Texture dynamic object [+rep] - mirou123 - 04.09.2015

Код:
new object = CreateDynamicObject(905, 654.1385, 866.9397, -37.4223, 36.0000, 166.0000, 90.0000);
SetDynamicObjectMaterial(object, 0, 8399, "vgs_shops", "vgsclubwall05_128", 0xFFFFFFFF);
You can find textures here http://textures.xyin.ws/
And you can find Streamer related functions here https://sampforum.blast.hk/showthread.php?tid=102865