ObjectMaterial + GTA SA Weapon Objects
#1

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.
Reply
#2

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

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
Reply
#4

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


https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)