SA-MP Forums Archive
PlayerTextDrawTextSize: can't get the clickable Textdraw to work - 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: PlayerTextDrawTextSize: can't get the clickable Textdraw to work (/showthread.php?tid=631398)



PlayerTextDrawTextSize: can't get the clickable Textdraw to work - NBass - 28.03.2017

Hello,
I'm trying to get the Clickable Textdraw to work, but it seems, not working. I searched, and found, that maybe the PlayerTextDrawTextSize can cause the Problem. I using a TDEDITOR 1.17, but how i see, the editor doesn't create a Clickable area, and i have no idea, how i can "Calculate" it.

Textdraw:
Код HTML:
        Hola[playerid][9] = CreatePlayerTextDraw(playerid, 75.000000, 162.000000, "Login");
        PlayerTextDrawLetterSize(playerid, Hola[playerid][9], 0.400000, 1.562666);
        PlayerTextDrawAlignment(playerid, Hola[playerid][9], 1);
        PlayerTextDrawColor(playerid, Hola[playerid][9], -1);
        PlayerTextDrawSetShadow(playerid, Hola[playerid][9], 1);
        PlayerTextDrawSetOutline(playerid, Hola[playerid][9], 0);
        PlayerTextDrawBackgroundColor(playerid, Hola[playerid][9], 255);
        PlayerTextDrawFont(playerid, Hola[playerid][9], 1);
        PlayerTextDrawSetProportional(playerid, Hola[playerid][9], 1);
        PlayerTextDrawSetShadow(playerid, Hola[playerid][9], 1);
        PlayerTextDrawSetSelectable(playerid, Hola[playerid][9], true);



Re: PlayerTextDrawTextSize: can't get the clickable Textdraw to work - Vince - 28.03.2017

Mostly trial and error. I'd just enable the box and work from there. Set the box color to something invisible if you don't want it displayed.


Re: PlayerTextDrawTextSize: can't get the clickable Textdraw to work - jlalt - 29.03.2017

You've to use PlayerTextDrawTextSize too! letter got no effect there the thing that effects is this function...

https://sampwiki.blast.hk/wiki/PlayerTextDrawTextSize

Here's a similar thread to your:
https://sampforum.blast.hk/showthread.php?tid=614867