TextDrawTextSize
#1

Why I can't click on these TextDraw's ?

pawn Код:
NextButton[playerid] = TextDrawCreate(596.500000, 330.399993, "NEXT");
    TextDrawLetterSize(NextButton[playerid], 0.449999, 1.600000);
    TextDrawAlignment(NextButton[playerid], 1);
    TextDrawColor(NextButton[playerid], 0xFFFFFFCC);
    TextDrawSetShadow(NextButton[playerid], 0);
    TextDrawSetOutline(NextButton[playerid], 1);
    TextDrawBackgroundColor(NextButton[playerid], 51);
    TextDrawFont(NextButton[playerid], 1);
    TextDrawSetProportional(NextButton[playerid], 1);
    TextDrawTextSize(NextButton[playerid], 41.000000, 7.466670);
    TextDrawSetSelectable(NextButton[playerid], 1);

    PrevButton[playerid] = TextDrawCreate(544.500000, 329.777709, "PREV");
    TextDrawLetterSize(PrevButton[playerid], 0.449999, 1.600000);
    TextDrawAlignment(PrevButton[playerid], 1);
    TextDrawColor(PrevButton[playerid], 0xFFFFFFCC);
    TextDrawSetShadow(PrevButton[playerid], 0);
    TextDrawSetOutline(PrevButton[playerid], 1);
    TextDrawBackgroundColor(PrevButton[playerid], 51);
    TextDrawFont(PrevButton[playerid], 1);
    TextDrawSetProportional(PrevButton[playerid], 1);
    TextDrawTextSize(PrevButton[playerid], 35.000000, 11.199999);
    TextDrawSetSelectable(PrevButton[playerid], 1);
Reply
#2

SelectTextDraw(playerid, color on mouse over);like 0xFFFFFFFF
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)