SA-MP Forums Archive
ObjectMaterial + GTA SA Weapon Objects - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: ObjectMaterial + GTA SA Weapon Objects (/showthread.php?tid=567624)



ObjectMaterial + GTA SA Weapon Objects - CuervO - 15.03.2015

Reference: https://sampforum.blast.hk/showthread.php?tid=567113

Tested objects 321-397, none work with material modified.
These do work if object is attached.

Update:

Used the following parameters:
Код:
0, -1, "", "", 0xFFFF0000
1, -1, "", "", 0xFFFF0000
2, -1, "", "", 0xFFFF0000
3, -1, "", "", 0xFFFF0000
4, -1, "", "", 0xFFFF0000
5, -1, "", "", 0xFFFF0000
6, -1, "", "", 0xFFFF0000
7, -1, "", "", 0xFFFF0000
8, -1, "", "", 0xFFFF0000
Object shows up but doesn't use the color.


Re: ObjectMaterial + GTA SA Weapon Objects - ikey07 - 16.03.2015

in the TXD and Texture name write something else than None or blank, use "Sgsdf" for example, and then it will apply the color


Respuesta: Re: ObjectMaterial + GTA SA Weapon Objects - CuervO - 17.03.2015

Quote:
Originally Posted by ikey07
Посмотреть сообщение
in the TXD and Texture name write something else than None or blank, use "Sgsdf" for example, and then it will apply the color
http://i.imgur.com/D1eG8qV.jpg


Re: ObjectMaterial + GTA SA Weapon Objects - ikey07 - 17.03.2015

but wait, you cant change texture on the attached objects, only the color, which is inside SetPlayerAttachedObject


https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject


Re: ObjectMaterial + GTA SA Weapon Objects - Crayder - 18.03.2015

Quote:
Originally Posted by ikey07
Посмотреть сообщение
but wait, you cant change texture on the attached objects, only the color, which is inside SetPlayerAttachedObject


https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
That's not what he asked for. He wants to add color to the weapon objects. Like Pottus said, some objects (animated object to be exact, yes weapons are animated) cannot be textured.