Кликабельные тексты
#8

Не пойму в чем проблема выделяется один TextDraw из 3.
pawn Code:
ALeft = TextDrawCreate(260.000000, 273.000000, "<");
    TextDrawBackgroundColor(ALeft, -1);
    TextDrawFont(ALeft, 1);
    TextDrawLetterSize(ALeft, 1.000000, 5.000000);
    TextDrawColor(ALeft, 255);
    TextDrawSetOutline(ALeft, 1);
    TextDrawSetProportional(ALeft, 1);
    TextDrawTextSize(ALeft, 284.000000, 0.000000);

    ARight = TextDrawCreate(360.000000, 274.000000, ">");
    TextDrawBackgroundColor(ARight, -1);
    TextDrawFont(ARight, 1);
    TextDrawLetterSize(ARight, 1.000000, 5.000000);
    TextDrawColor(ARight, 255);
    TextDrawSetOutline(ARight, 1);
    TextDrawSetProportional(ARight, 1);
    TextDrawTextSize(ARight, 284.000000, 0.000000);

    ABuy = TextDrawCreate(283.000000, 288.000000, "BUY");
    TextDrawBackgroundColor(ABuy, -1);
    TextDrawFont(ABuy, 1);
    TextDrawLetterSize(ABuy, 1.200000, 2.000000);
    TextDrawColor(ABuy, 255);
    TextDrawSetOutline(ABuy, 1);
    TextDrawSetProportional(ABuy, 1);
   
    TextDrawSetSelectable(ALeft, true);
    TextDrawSetSelectable(ARight, true);
    TextDrawSetSelectable(ABuy, true);
Выделяется только ABuy. Я пробовал его убрать, также ничего не выделяется.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)