SetPlayerAttachedObject materialcolor
#1

hi

i wanted color out a particle object which is attached via SetPlayerAttachedObject to a player. i am using modelid:18706 (white blood particle) and want to color it red. so i used materialcolor1/materialcolor2 with 0xFFFF0000 which is red:255,green:0,blue:0,alpha:255 in ARGB but the particles wont change their colors. anyone know what i'm doing wrong?
Reply
#2

Can you please show us your codes so we get a better look at the problem?
Reply
#3

Код:
SetPlayerAttachedObject(playerid,0,18706,1,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0xFFFF0000,0xFFFF0000);
Reply
#4

Also want to know how to change attached object material color.
Reply
#5

is it ARGB or RGBA?
a little bit confused
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)