SA-MP Forums Archive
SetObjectMaterial - 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: SetObjectMaterial (/showthread.php?tid=650105)



SetObjectMaterial - PepsiCola23 - 20.02.2018

Why does it sets the material like this?and not other way (like a normal street)

https://imgur.com/BJDhkiE

PHP код:
SetDynamicObjectMaterial(CreateDynamicObject(19533275.271241750.1718819.95520,   0.000000.00000, -90.06010),  010018"tunnel_sfe""sf_road5"0xFFFFFFFF); 



Re: SetObjectMaterial - Mugala - 20.02.2018

it's texture is different, try other.


Re: SetObjectMaterial - PepsiCola23 - 20.02.2018

Quote:
Originally Posted by Mugala
Посмотреть сообщение
it's texture is different, try other.
do you know by any chance,what texture is this?been searching for like 2 days.

https://imgur.com/a/XwuCn


Re: SetObjectMaterial - Mugala - 20.02.2018

you can use this library to get materials - https://textures.xyin.ws/?page=textures
or you can use SA:MP Map Editor too.


Re: SetObjectMaterial - PepsiCola23 - 21.02.2018

but do you have any idea how i can do like in the picture?i tried with retexturing but it looks like in the first post.


Re: SetObjectMaterial - Mugala - 22.02.2018

use different object ID, this object uses a texture loop.