TextDrawSelect Highlighting
#1

When I hover the "start" both Get highlight, any solutions?
pawn Код:
Back[playerid] =     TextDrawCreate(129.599822, 299.413330, "Back");
    TextDrawBackgroundColor(Back[playerid],  0x00000000);
    TextDrawFont(Back[playerid], 1);
    TextDrawLetterSize(Back[playerid], 0.500000, 1.000000);
    TextDrawColor(Back[playerid], -1);
    TextDrawSetOutline(Back[playerid], 0);
    TextDrawSetProportional(Back[playerid], 1);
    TextDrawSetShadow(Back[playerid], 1);
    TextDrawSetSelectable(Back[playerid], 1);

    Start[playerid] =     TextDrawCreate(491.999969, 299.413330, "Start");
    TextDrawBackgroundColor(Start[playerid],  0x00000000);
    TextDrawFont(Start[playerid], 1);
    TextDrawLetterSize(Start[playerid], 0.500000, 1.000000);
    TextDrawColor(Start[playerid], -1);
    TextDrawSetOutline(Start[playerid], 0);
    TextDrawSetProportional(Start[playerid], 1);
    TextDrawSetShadow(Start[playerid], 1);
    TextDrawSetSelectable(Start[playerid], 1);
Reply
#2

Function TextDrawTextSize is responsible for clickable area textdraw - you have to set this.
Reply
#3

any values in specific ?
Reply
#4

Quote:
Originally Posted by trapstar2020
Посмотреть сообщение
any values in specific ?
Position Y: 10.00 , Position X: Search it you, the editor of zamaroht textdraw, put a box on top of the letter and all cover with edit box changes the box until it covers all the words and get the X coordinate that coordinate can adjust the textsize greetings
Reply
#5

Worked
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)