20.04.2016, 18:57
Код:
RGBAToARGB(color) { new alpha = color & 0xFF; return ((color >>> 8) | (alpha << 24)); }
Код:
new smthobject = CreateDynamicObject(19370, X, Y, Z, 0.00000, 0.00000, 90.000); new mynumber = HexToInt( "0xFE0000AA"); SetDynamicObjectMaterialText(smthobject, 0,"Test", 20,"Arial", 15, 0,RGBAToARGB(mynumber),RGBAToARGB(0),0); printf("%d", mynumber);
Код:
SetDynamicObjectMaterialText(smthobject, 0,"Test", 20,"Arial", 15, 0,RGBAToARGB(Yournumber[ playerid ]),RGBAToARGB(Secondnumber[ playerid ]),0); printf("%d", Yournumber[ playerid ]); printf("%d",Secondnumber[ playerid ]);