03.07.2015, 13:11
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:
But everytime sphere is black.
How do I make it transparent?
Код:
//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);
How do I make it transparent?