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(19533, 275.27124, 1750.17188, 19.95520, 0.00000, 0.00000, -90.06010), 0, 10018, "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.