Attached object transparency?
#1

Hello, I tried to make a round object (sphere) and attach it to player. I need to make the sphere black with ~20% transparency. The problem is, I can't seem to know how to do that. I've tried:
Код:
//1
SetPlayerAttachedObject(playerid, 5, 18845, 1, 0.000000, 0.000000, 0.000000, 321.022155, 276.892761, 0.000000, 1.000000, 1.000000, 1.000000,0xFF000000,0xFF000000);

//2
SetPlayerAttachedObject(playerid, 5, 18845, 1, 0.000000, 0.000000, 0.000000, 321.022155, 276.892761, 0.000000, 1.000000, 1.000000, 1.000000,0x80000000,0x80000000);

//3

SetPlayerAttachedObject(playerid, 5, 18845, 1, 0.000000, 0.000000, 0.000000, 321.022155, 276.892761, 0.000000, 1.000000, 1.000000, 1.000000,0x20000000,0x20000000);
But everytime sphere is black.
How do I make it transparent?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)