PlayerTextDrawTextSize: can't get the clickable Textdraw to work
#1

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);
Reply
#2

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.
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)