Quote:
Originally Posted by Stefhan
When I change the color of an object ( for ex 371 ) to 5000 ( green ) it doesn't change, the object just dissapears, how to fix?
|
Object 371 (parachute) has only single material. Therefore use the command /saomc1
Quote:
/setattachedobjectmc1
Alias: /saomc1
Change your attached object material color
Код:
/setattachedobjectoffset AttachedObjectIndex MaterialColor1
- AttachedObjectIndex: The attached object slot number to change its material color
- MaterialColor1: The new attached object #1 material color value
|
Also i'm not sure what you mean with 5000, perhaps try to use ARGB format instead, because you probably get used with integer that is equal with RGBA format, so if you want to make it green try FF00FF00.
Quote:
MaterialColor - The attached object texture material color as integer or hexadecimal number in ARGB format, e.g. 0xFF00FFFF.
|
Also please note that changing material colors doesn't support all indexes for holding objects, it's only limited to 2 by SA:MP so it may not work completely.