MENU_RACEDM[5] = TextDrawCreate (321.966491, 163.555541, "LD_SPAC:white"); // race dm TextDrawAlignment (MENU_RACEDM[5], 1); TextDrawColor (MENU_RACEDM[5], -1); TextDrawSetShadow (MENU_RACEDM[5], 0); TextDrawSetOutline (MENU_RACEDM[5], 0); TextDrawBackgroundColor (MENU_RACEDM[5], 0); TextDrawFont (MENU_RACEDM[5], 4); TextDrawSetProportional (MENU_RACEDM[5], 0); TextDrawSetSelectable (MENU_RACEDM[5], true);
TextDrawColor (MENU_RACEDM[5], 0);
MENU_RACEDM[5] =
TextDrawCreate (321.966491, 163.555541, "LD_SPAC:white"); // race dm
TextDrawTextSize (MENU_RACEDM[5], 87.000000, 86.000000);
TextDrawAlignment (MENU_RACEDM[5], 1);
TextDrawColor (MENU_RACEDM[5], 0);
TextDrawSetShadow (MENU_RACEDM[5], 0);
TextDrawSetOutline (MENU_RACEDM[5], 0);
TextDrawBackgroundColor (MENU_RACEDM[5], 0);
TextDrawFont (MENU_RACEDM[5], 4);
TextDrawSetProportional (MENU_RACEDM[5], 0);
TextDrawSetSelectable (MENU_RACEDM[5], true);
Its a known bug sometimes LD_SPAC:WHITE or LD_SPAC:BLACK sprites doesn't support transparency.
But 0 is equivalent to no color. |
TextDrawColor (MENU_RACEDM [5], 0xFFFFFF00);
PHP код:
Вложение 11846 Вложение 11847 Вложение 11848 Вложение 11849 |
TDEditor_TD[0] = TextDrawCreate(265.000000, 155.000000, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[0], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[0], 90.000000, 90.000000);
TextDrawAlignment(TDEditor_TD[0], 1);
TextDrawColor(TDEditor_TD[0], -256);
TextDrawSetShadow(TDEditor_TD[0], 0);
TextDrawSetOutline(TDEditor_TD[0], 0);
TextDrawBackgroundColor(TDEditor_TD[0], 255);
TextDrawFont(TDEditor_TD[0], 4);
TextDrawSetProportional(TDEditor_TD[0], 0);
TextDrawSetShadow(TDEditor_TD[0], 0);
TextDrawSetSelectable(TDEditor_TD[0], true);
It was a box or a sprite ? Because with a box, it's don't work. Please show me your code.
|
PHP код:
|
MENU_RACEDM[5] =
TextDrawCreate (321.966491, 163.555541, "LD_SPAC:white"); // race dm
TextDrawLetterSize (MENU_RACEDM[5], 0.000000, 0.000000);
TextDrawTextSize (MENU_RACEDM[5], 87.000000, 86.000000);
TextDrawAlignment (MENU_RACEDM[5], 1);
TextDrawColor (MENU_RACEDM[5], -256);
TextDrawSetShadow (MENU_RACEDM[5], 0);
TextDrawSetOutline (MENU_RACEDM[5], 0);
TextDrawBackgroundColor (MENU_RACEDM[5], 255);
TextDrawFont (MENU_RACEDM[5], 4);
TextDrawSetProportional (MENU_RACEDM[5], 0);
TextDrawSetShadow (MENU_RACEDM[5], 0);
TextDrawSetSelectable (MENU_RACEDM[5], true);
Its a known bug sometimes LD_SPAC:WHITE or LD_SPAC:BLACK sprites doesn't support transparency.
|
^ This is why its not working, try any other sprite model and it may work.
|