SA-MP Forums Archive
TextDrawSelect Highlighting - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: TextDrawSelect Highlighting (/showthread.php?tid=515923)



TextDrawSelect Highlighting - trapstar2020 - 28.05.2014

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);



Re: TextDrawSelect Highlighting - ball - 28.05.2014

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


Re: TextDrawSelect Highlighting - trapstar2020 - 28.05.2014

any values in specific ?


Re: TextDrawSelect Highlighting - juandiegox - 28.05.2014

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


Re: TextDrawSelect Highlighting - trapstar2020 - 28.05.2014

Worked